Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use castings according to padding #14174

Merged
merged 56 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
41ce283
fix: generate salt through uint, retrieve cahinId through bytes20+uin…
Feb 5, 2025
b5195fe
fix: bytes20 is not necessary
Feb 5, 2025
9102ddd
fix: generated semver-lock.json
Feb 7, 2025
c19c3c4
chore: lint
Feb 7, 2025
1182463
fix: is this what you want?
Feb 7, 2025
627e4c8
Merge branch 'develop' into bytes-pads-right
alcueca Feb 7, 2025
ce6ad29
fix: regenerated semver-lock
Feb 7, 2025
3d5ecbc
chore: bumping version and semver-lock so that CI sees them changing …
Feb 7, 2025
d68223a
ctb: move vm.broadcast into createDeterministic (#14243)
mslipper Feb 7, 2025
21d66ab
op-node/rollup/attributes: Add missing EIP1559Params consolidation ch…
sebastianst Feb 7, 2025
5cc2d1a
dependabot(gomod): bump github.com/kurtosis-tech/kurtosis/api/golang …
dependabot[bot] Feb 7, 2025
aad07d5
Added README to op-dripper (#14165)
ControlCplusControlV Feb 7, 2025
3fc6645
fix(op-deployer): don't deploy dachallenge contract when using Generi…
samlaf Feb 7, 2025
a0e2f69
op-supervisor: handle out-of-sync on known local-safe tip with alread…
protolambda Feb 7, 2025
9fe1633
interop: op-supervisor event metrics (#14258)
protolambda Feb 7, 2025
dc5138c
node: Ignore No-Op Reset Requests (#14256)
axelKingsley Feb 7, 2025
4f5c63d
op-supervisor: improve logging (#14262)
protolambda Feb 7, 2025
fca40a3
fix(devnet-sdk): use correct Address type (#14259)
sigma Feb 8, 2025
e10471c
chore: update kurtosis to 1.4.4 (#14255)
sigma Feb 8, 2025
0d50d60
fix(devnet-sdk): use correct chain ID type (#14261)
sigma Feb 8, 2025
8af7391
ci: Log op-e2e output to files (#14257)
mslipper Feb 9, 2025
ebdc956
fix(devnet-sdk): ensure balances are comparable (#14267)
sigma Feb 10, 2025
82a0d35
ci: Reduce publish job to daily (#14276)
mslipper Feb 10, 2025
7696446
op-deployer: add architecture diagram (#14281)
bitwiseguy Feb 10, 2025
fde7f0d
fix: Orbifying checkout-with-mise. (#14282)
blmalone Feb 10, 2025
9b14ea4
Add bootnodes ran by UL (#14279)
trianglesphere Feb 10, 2025
82098d8
op-conductor: Add HeartbeatTimeout & LeaderLeaseTimeout flags (#14271)
ImTei Feb 10, 2025
988481c
Add MT Cannon audit reports (Coinbase and Spearbit) (#14218)
pauldowman Feb 10, 2025
b555bff
feat(devnet-sdk): enable preconditions enforcement (#14268)
sigma Feb 10, 2025
29b8868
fix: bump patch version for mise orb. (#14290)
blmalone Feb 10, 2025
43c90b4
feat: pass args thru contracts build commands (#14287)
smartcontracts Feb 10, 2025
2042259
op-node: fix p2p NAT option (#14280)
protolambda Feb 10, 2025
d2a59a6
op-program: Update test to ensure interop bootstrapping does not load…
ajsutton Feb 10, 2025
875aea5
op-conductor: Add new Raft flags into optional flags list (#14299)
ImTei Feb 10, 2025
95043fc
Update op-geth dependency to add uni-mainnet config (#14301)
sebastianst Feb 10, 2025
c735e26
op-node: Define message expiry time constant (#14296)
Inphi Feb 10, 2025
fe8b68a
op-e2e: Fix fpp bls precompile tests (#14291)
Inphi Feb 10, 2025
01e31c5
op-challenger: Handle requesting superchain roots beyond the current …
ajsutton Feb 11, 2025
9e1991e
op-supervisor: Fix AddLink error type and clean up reset logic (#14302)
axelKingsley Feb 11, 2025
ef4d681
feat(devnet-sdk): add helper to build execution environment (#14298)
sigma Feb 11, 2025
b2b1cbd
fix: add mirrored restrictions to lite profile (#14295)
smartcontracts Feb 11, 2025
ab444a0
ci: make frozen files check depend on contracts-bedrock-build (#14316)
maurelian Feb 11, 2025
536cd6d
fix(kurtosis-devnet): make logs more readable (#14317)
sigma Feb 11, 2025
78dbd5f
kt interop-devnet: enable super-cannon with interop-prestate (#14172)
zhwrd Feb 11, 2025
84bb548
kt-devnet: switch to geth-teku for l1 (#14305)
pcw109550 Feb 11, 2025
d9e15b8
op-program: Ensure exec msg inclusion during consolidation (#14101)
Inphi Feb 11, 2025
fc47cbf
op-supervisor: Don't reset when node is far behind (#14324)
axelKingsley Feb 11, 2025
29faa1b
op-supervisor: don't reet on all errors (#14326)
axelKingsley Feb 11, 2025
d6e7ce0
feat: Ignore frozen files check by using a PR label (#14247)
alcueca Feb 11, 2025
cdec591
op-e2e: Add action test for cascading reorgs in interop fault proofs …
ajsutton Feb 12, 2025
e620444
OPCM: OPPrestateUpdater for L1 Pectra Defense (#13998)
maurelian Feb 12, 2025
d8114ee
fix: generated semver-lock.json
Feb 7, 2025
0e6a3f3
chore: bumping version and semver-lock so that CI sees them changing …
Feb 7, 2025
178c1b5
chore: bump semver-lock.json
Feb 12, 2025
8a76985
chore: bump versions and semver-lock
Feb 12, 2025
1fc1fdc
Merge branch 'develop' into bytes-pads-right
alcueca Feb 12, 2025
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
8 changes: 4 additions & 4 deletions packages/contracts-bedrock/snapshots/semver-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"sourceCodeHash": "0xf9ba98657dc235355146e381b654fe3ed766feb7cd87636ec0c9d4c6dd3e1973"
},
"src/L1/OPContractsManager.sol": {
"initCodeHash": "0x1d3d411c6d34bed2a16a91cdae4ff5a7d46aab72b94165522bc871ffdcba1905",
"sourceCodeHash": "0xe7aa40445e938825a0ef414fe46958bdb4de9c4ebbd737dddc96f3afa1d4e3db"
"initCodeHash": "0x997aa1eb8c9323ece8942344d0d27bac71f6a4f4ccf7dac7b9ab7232f90bed93",
"sourceCodeHash": "0xc9214c3ac97f51d3e3435500a987346518eaa04cf2cb672827d295b8bd226a61"
},
"src/L1/OPContractsManagerInterop.sol": {
"initCodeHash": "0xb68bdca9d8189a4f21750e7f75e3e2c51f12ebf38b7defd553c43de15eb2c0a6",
"sourceCodeHash": "0x1bf5afe631f621078379773a0b0d6fda9d2b3bddd0acd7bd38fc461a2c8107bd"
"initCodeHash": "0xef5ec182708fa5c29cf2f42a6109d748cac653981f8a773ce1d6453aff863362",
"sourceCodeHash": "0xf9e820880250d9a1889d07e87f3dfc2c86397cd743f6e6ac9101e621b90f912d"
},
"src/L1/OPPrestateUpdater.sol": {
"initCodeHash": "0x4e8acd5a9fa64ca3cfd2f1bef65303dd0c48f475bda7267b6ac3570a70cceb13",
Expand Down
7 changes: 4 additions & 3 deletions packages/contracts-bedrock/src/L1/OPContractsManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ contract OPContractsManager is ISemver {

// -------- Constants and Variables --------

/// @custom:semver 1.2.1
/// @custom:semver 1.2.2
function version() public pure virtual returns (string memory) {
return "1.2.1";
return "1.2.2";
}

/// @notice Address of the SuperchainConfig contract shared by all chains.
Expand Down Expand Up @@ -529,7 +529,8 @@ contract OPContractsManager is ISemver {
_l2ChainId: l2ChainId,
_proxyAdmin: _opChainConfigs[i].proxyAdmin,
_saltMixer: string.concat(
"v2.0.0-", string(bytes.concat(bytes20(address(_opChainConfigs[i].systemConfigProxy))))
"v2.0.0-",
string(bytes.concat(bytes32(uint256(uint160(address(_opChainConfigs[i].systemConfigProxy))))))
),
_contractName: "AnchorStateRegistry"
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import { ISystemConfigInterop } from "interfaces/L1/ISystemConfigInterop.sol";
import { IProxyAdmin } from "interfaces/universal/IProxyAdmin.sol";

contract OPContractsManagerInterop is OPContractsManager {
/// @custom:semver +interop.5
/// @custom:semver +interop.6
function version() public pure override returns (string memory) {
return string.concat(super.version(), "+interop.5");
return string.concat(super.version(), "+interop.6");
}

constructor(
Expand Down
7 changes: 5 additions & 2 deletions packages/contracts-bedrock/test/L1/OPContractsManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ contract OPContractsManager_Upgrade_Harness is CommonTest {

// Retrieve the l2ChainId, which was read from the superchain-registry, and saved in Artifacts
// encoded as an address.
l2ChainId = uint256(bytes32(bytes20(address(artifacts.mustGetAddress("L2ChainId")))) >> 96);
l2ChainId = uint256(uint160(address(artifacts.mustGetAddress("L2ChainId"))));

delayedWETHPermissionedGameProxy =
IDelayedWETH(payable(artifacts.mustGetAddress("PermissionedDelayedWETHProxy")));
Expand All @@ -270,7 +270,10 @@ contract OPContractsManager_Upgrade_Harness is CommonTest {
bytes32 salt = keccak256(
abi.encode(
l2ChainId,
string.concat("v2.0.0-", string(bytes.concat(bytes20(address(opChainConfigs[0].systemConfigProxy))))),
string.concat(
"v2.0.0-",
string(bytes.concat(bytes32(uint256(uint160(address(opChainConfigs[0].systemConfigProxy))))))
),
"AnchorStateRegistry"
)
);
Expand Down