Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name = "rain-math-float-deploy"
# Deploy repo: a normal PR does not bump this; only a release moves it, in
# lockstep with the frozen `src/generated/<tag>/` snapshot it names.
version = "0.1.1"
version = "0.1.2"

[profile.default]
src = 'src'
Expand Down
26 changes: 26 additions & 0 deletions src/generated/0_1_2/DecimalFloat.sol

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions src/generated/0_1_2/LogTables.sol

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion src/lib/LibDecimalFloatReleased.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ import {
DEPENDENCIES as DecimalFloat_0_1_1_DEPENDENCIES
} from "../generated/0_1_1/DecimalFloat.sol";

import {
DEPLOYED_ADDRESS as DecimalFloat_0_1_2_DEPLOYED_ADDRESS,
BYTECODE_HASH as DecimalFloat_0_1_2_BYTECODE_HASH,
CREATION_CODE as DecimalFloat_0_1_2_CREATION_CODE,
RUNTIME_CODE as DecimalFloat_0_1_2_RUNTIME_CODE,
DEPENDENCIES as DecimalFloat_0_1_2_DEPENDENCIES
} from "../generated/0_1_2/DecimalFloat.sol";

/// @title LibDecimalFloatReleased
/// @notice Every frozen release of `DecimalFloat`: one entry per file in
/// the append-only `src/generated/<tag>/` record, in tag order.
Expand All @@ -34,7 +42,7 @@ library LibDecimalFloatReleased {
/// Every frozen release, in tag order.
/// @return The released suites.
function releasedSuites() internal pure returns (DeploySuite[] memory) {
DeploySuite[] memory suites = new DeploySuite[](1);
DeploySuite[] memory suites = new DeploySuite[](2);
suites[0] = DeploySuite({
suite: "decimal-float@0_1_1",
creationCode: DecimalFloat_0_1_1_CREATION_CODE,
Expand All @@ -44,6 +52,15 @@ library LibDecimalFloatReleased {
artifactPath: "src/concrete/DecimalFloat.sol:DecimalFloat",
dependencies: abi.decode(DecimalFloat_0_1_1_DEPENDENCIES, (address[]))
});
suites[1] = DeploySuite({
suite: "decimal-float@0_1_2",
creationCode: DecimalFloat_0_1_2_CREATION_CODE,
storedDeployedAddress: DecimalFloat_0_1_2_DEPLOYED_ADDRESS,
storedBytecodeHash: DecimalFloat_0_1_2_BYTECODE_HASH,
storedRuntimeCode: DecimalFloat_0_1_2_RUNTIME_CODE,
artifactPath: "src/concrete/DecimalFloat.sol:DecimalFloat",
dependencies: abi.decode(DecimalFloat_0_1_2_DEPENDENCIES, (address[]))
});
return suites;
}
}
19 changes: 18 additions & 1 deletion src/lib/LibLogTablesReleased.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ import {
DEPENDENCIES as LogTables_0_1_1_DEPENDENCIES
} from "../generated/0_1_1/LogTables.sol";

import {
DEPLOYED_ADDRESS as LogTables_0_1_2_DEPLOYED_ADDRESS,
BYTECODE_HASH as LogTables_0_1_2_BYTECODE_HASH,
CREATION_CODE as LogTables_0_1_2_CREATION_CODE,
RUNTIME_CODE as LogTables_0_1_2_RUNTIME_CODE,
DEPENDENCIES as LogTables_0_1_2_DEPENDENCIES
} from "../generated/0_1_2/LogTables.sol";

/// @title LibLogTablesReleased
/// @notice Every frozen release of `LogTables`: one entry per file in
/// the append-only `src/generated/<tag>/` record, in tag order.
Expand All @@ -34,7 +42,7 @@ library LibLogTablesReleased {
/// Every frozen release, in tag order.
/// @return The released suites.
function releasedSuites() internal pure returns (DeploySuite[] memory) {
DeploySuite[] memory suites = new DeploySuite[](1);
DeploySuite[] memory suites = new DeploySuite[](2);
suites[0] = DeploySuite({
suite: "log-tables@0_1_1",
creationCode: LogTables_0_1_1_CREATION_CODE,
Expand All @@ -44,6 +52,15 @@ library LibLogTablesReleased {
artifactPath: "",
dependencies: abi.decode(LogTables_0_1_1_DEPENDENCIES, (address[]))
});
suites[1] = DeploySuite({
suite: "log-tables@0_1_2",
creationCode: LogTables_0_1_2_CREATION_CODE,
storedDeployedAddress: LogTables_0_1_2_DEPLOYED_ADDRESS,
storedBytecodeHash: LogTables_0_1_2_BYTECODE_HASH,
storedRuntimeCode: LogTables_0_1_2_RUNTIME_CODE,
artifactPath: "",
dependencies: abi.decode(LogTables_0_1_2_DEPENDENCIES, (address[]))
});
return suites;
}
}
Loading