Skip to content

Commit

Permalink
Merge pull request #37 from l2beat/main
Browse files Browse the repository at this point in the history
[pull] main from l2beat:main
  • Loading branch information
pull[bot] authored Dec 18, 2024
2 parents 746686a + 4a595e1 commit 70f847f
Show file tree
Hide file tree
Showing 150 changed files with 5,560 additions and 1,246 deletions.

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions packages/backend/discovery/bobanetwork/ethereum/diffHistory.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
Generated with discovered.json: 0x8d063efb8aca257b5f302697e4e4618982c8c3a5

# Diff at Wed, 18 Dec 2024 10:01:20 GMT:

- author: sekuba (<[email protected]>)
- comparing to: main@a44ef6747febdd9930ef05420e60556c20899f13 block: 20919938
- current block number: 21428646

## Description

SystemConfig upgrade to version `2.3.0-beta.5`, which is a post-faultproofs version. But since the DisputeGameFactory address is not set and OptimismPortal is still on an old version, this has no consequence on the state validation logic.

## Watched changes

```diff
contract SystemConfig (0x158Fd5715F16Ac1F2Dc959A299B383aAaf9B59EB) {
+++ description: Contains configuration parameters such as the Sequencer address, gas limit on this chain and the unsafe block signer address.
sourceHashes.1:
- "0xdf9a11b46747139bfe0135df8a65a2728a2dbd60a689e2398c45627915cdd752"
+ "0xe8f575933bc08fd1b1839c74e98447d0a629845c07c4281981ee0ba86ce88298"
values.$implementation:
- "0xfaE274B77BA59f001196689f93E9e73693866f4a"
+ "0xb52F8f5D1285e3bc13F9C53D27C6F7336a3B50A9"
values.$pastUpgrades.1:
+ ["2024-12-16T17:58:59.000Z","0x2dd4983dfade963b3da262a0c56b5085ffc5ee2f3046292326568738250b5a42",["0xb52F8f5D1285e3bc13F9C53D27C6F7336a3B50A9"]]
values.$upgradeCount:
- 1
+ 2
values.L2_OUTPUT_ORACLE_SLOT:
- "0xe52a667f71ec761b9b381c7b76ca9b852adf7e8905da0e0ad49986a0a6871815"
values.l2OutputOracle:
- "0xbB7aD3f9CCbC94085b7F7B1D5258e59F5F068741"
values.version:
- "1.12.0"
+ "2.3.0-beta.5"
values.basefeeScalar:
+ 500000
values.blobbasefeeScalar:
+ 1014213
values.DISPUTE_GAME_FACTORY_SLOT:
+ "0x52322a25d9f59ea17656545543306b7aef62bc0cc53a0e65ccfa0c75b97aa906"
values.disputeGameFactory:
+ "0x0000000000000000000000000000000000000000"
values.eip1559Denominator:
+ 0
values.eip1559Elasticity:
+ 0
values.gasPayingToken:
+ {"addr_":"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE","decimals_":18}
values.gasPayingTokenName:
+ "Ether"
values.gasPayingTokenSymbol:
+ "ETH"
values.isCustomGasToken:
+ false
values.maximumGasLimit:
+ 200000000
}
```

## Source code changes

```diff
.../SystemConfig/SystemConfig.sol | 1502 +++++++++++++++++++-
1 file changed, 1462 insertions(+), 40 deletions(-)
```

Generated with discovered.json: 0x8724b65dcee24112f0c4a946b885a8647360af24

# Diff at Fri, 01 Nov 2024 12:23:12 GMT:
Expand Down
142 changes: 85 additions & 57 deletions packages/backend/discovery/bobanetwork/ethereum/discovered.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bobanetwork",
"chain": "ethereum",
"blockNumber": 20919938,
"blockNumber": 21428646,
"configHash": "0x210ae33d181dab6e47e6b5cc3721a250c4467466fae4d8b71b280a5aca28af22",
"contracts": [
{
Expand All @@ -10,7 +10,7 @@
"template": "opstack/SystemConfig",
"sourceHashes": [
"0x7913a1d7d0c47796c94eb6f8fd87a89ae9f2716eda57c9be4fd2b27c70bed617",
"0xdf9a11b46747139bfe0135df8a65a2728a2dbd60a689e2398c45627915cdd752"
"0xe8f575933bc08fd1b1839c74e98447d0a629845c07c4281981ee0ba86ce88298"
],
"proxyType": "EIP1967 proxy",
"description": "Contains configuration parameters such as the Sequencer address, gas limit on this chain and the unsafe block signer address.",
Expand Down Expand Up @@ -40,27 +40,44 @@
"sinceTimestamp": 1710967919,
"values": {
"$admin": "0x6e598cec2701FfAA3c06175dc3Af0317a749a0Dc",
"$implementation": "0xfaE274B77BA59f001196689f93E9e73693866f4a",
"$implementation": "0xb52F8f5D1285e3bc13F9C53D27C6F7336a3B50A9",
"$pastUpgrades": [
[
"2024-04-16T21:38:23.000Z",
"0x41b524b2ed6de3f6ec58d8e6508f9f6055ca3cb28a80b98af3213eb285a9fdce",
["0xfaE274B77BA59f001196689f93E9e73693866f4a"]
],
[
"2024-12-16T17:58:59.000Z",
"0x2dd4983dfade963b3da262a0c56b5085ffc5ee2f3046292326568738250b5a42",
["0xb52F8f5D1285e3bc13F9C53D27C6F7336a3B50A9"]
]
],
"$upgradeCount": 1,
"$upgradeCount": 2,
"basefeeScalar": 500000,
"BATCH_INBOX_SLOT": "0x71ac12829d66ee73d8d95bff50b3589745ce57edae70a3fb111a2342464dc597",
"batcherHash": "0xe1B64045351B0B6e9821F19b39f81bc4711D2230",
"batchInbox": "0xfFF0000000000000000000000000000000000288",
"blobbasefeeScalar": 1014213,
"DISPUTE_GAME_FACTORY_SLOT": "0x52322a25d9f59ea17656545543306b7aef62bc0cc53a0e65ccfa0c75b97aa906",
"disputeGameFactory": "0x0000000000000000000000000000000000000000",
"eip1559Denominator": 0,
"eip1559Elasticity": 0,
"gasLimit": 30000000,
"gasPayingToken": {
"addr_": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals_": 18
},
"gasPayingTokenName": "Ether",
"gasPayingTokenSymbol": "ETH",
"isCustomGasToken": false,
"L1_CROSS_DOMAIN_MESSENGER_SLOT": "0x383f291819e6d54073bc9a648251d97421076bdd101933c0c022219ce9580636",
"L1_ERC_721_BRIDGE_SLOT": "0x46adcbebc6be8ce551740c29c47c8798210f23f7f4086c41752944352568d5a7",
"L1_STANDARD_BRIDGE_SLOT": "0x9904ba90dde5696cda05c9e0dab5cbaa0fea005ace4d11218a02ac668dad6376",
"l1CrossDomainMessenger": "0x6D4528d192dB72E282265D6092F4B872f9Dff69e",
"l1ERC721Bridge": "0xA6Ad22bb0E73DEF40a24E510cFbc93807d8bf87e",
"l1StandardBridge": "0xdc1664458d2f0B6090bEa60A8793A4E66c2F1c00",
"L2_OUTPUT_ORACLE_SLOT": "0xe52a667f71ec761b9b381c7b76ca9b852adf7e8905da0e0ad49986a0a6871815",
"l2OutputOracle": "0xbB7aD3f9CCbC94085b7F7B1D5258e59F5F068741",
"maximumGasLimit": 200000000,
"minimumGasLimit": 21000000,
"opStackDA": {
"isSomeTxsLengthEqualToCelestiaDAExample": false,
Expand All @@ -80,13 +97,13 @@
"systemTxMaxGas": 1000000,
"maximumBaseFee": "340282366920938463463374607431768211455"
},
"scalar": 1000000,
"scalar": "452312848583266388373324160190187140051835877600158453279135543542577340704",
"sequencerInbox": "0xfFF0000000000000000000000000000000000288",
"START_BLOCK_SLOT": "0xa11ee3ab75b40e88a0105e935d17cd36c8faee0138320d776c411291bdbbb19f",
"startBlock": 19670770,
"UNSAFE_BLOCK_SIGNER_SLOT": "0x65a7ed542fb37fe237fdfbdd70b31598523fe5b32879e307bae27a0bd9581c08",
"unsafeBlockSigner": "0x4Ac69842680847e1135f514eE3d75172B685ECBf",
"version": "1.12.0",
"version": "2.3.0-beta.5",
"VERSION": 0
},
"fieldMeta": {
Expand Down Expand Up @@ -227,7 +244,7 @@
"getChainId": 1,
"GnosisSafe_modules": [],
"multisigThreshold": "3 of 4 (75%)",
"nonce": 14,
"nonce": 17,
"VERSION": "1.3.0"
},
"derivedName": "GnosisSafe"
Expand Down Expand Up @@ -277,7 +294,7 @@
],
"$upgradeCount": 5,
"MESSAGE_VERSION": 1,
"messageNonce": "1766847064778384329583297500742918515827483896875618958121606201292676986",
"messageNonce": "1766847064778384329583297500742918515827483896875618958121606201292677007",
"MIN_GAS_CALLDATA_OVERHEAD": 16,
"MIN_GAS_DYNAMIC_OVERHEAD_DENOMINATOR": 63,
"MIN_GAS_DYNAMIC_OVERHEAD_NUMERATOR": 64,
Expand Down Expand Up @@ -394,8 +411,8 @@
"l2Sender": "0x000000000000000000000000000000000000dEaD",
"params": {
"prevBaseFee": 1000000000,
"prevBoughtGas": 1304520,
"prevBlockNum": 20904685
"prevBoughtGas": 100000,
"prevBlockNum": 21423033
},
"paused": false,
"superchainConfig": "0x996ffD627901f10C80A7d4B72A12316D2e77c076",
Expand Down Expand Up @@ -599,10 +616,10 @@
"finalizationPeriodSeconds": 604800,
"L2_BLOCK_TIME": 2,
"l2BlockTime": 2,
"latestBlockNumber": 8685619,
"latestOutputIndex": 4186,
"nextBlockNumber": 8687419,
"nextOutputIndex": 4187,
"latestBlockNumber": 11752819,
"latestOutputIndex": 5890,
"nextBlockNumber": 11754619,
"nextOutputIndex": 5891,
"proposer": "0xbfBAB4363034A930687B9320599a69DfBf1D21d0",
"PROPOSER": "0xbfBAB4363034A930687B9320599a69DfBf1D21d0",
"startingBlockNumber": 1149019,
Expand Down Expand Up @@ -659,6 +676,7 @@
}
],
"eoas": [
{ "address": "0x0000000000000000000000000000000000000000" },
{ "address": "0x000000000000000000000000000000000000dEaD" },
{ "address": "0x33A0B6C2Bd60A592C5e91dCCd5E5f403693F0AC1" },
{ "address": "0x4Ac69842680847e1135f514eE3d75172B685ECBf" },
Expand Down Expand Up @@ -886,6 +904,57 @@
"function upgradeTo(address _implementation)",
"function upgradeToAndCall(address _implementation, bytes _data) payable returns (bytes)"
],
"0xb52F8f5D1285e3bc13F9C53D27C6F7336a3B50A9": [
"constructor()",
"event ConfigUpdate(uint256 indexed version, uint8 indexed updateType, bytes data)",
"event Initialized(uint8 version)",
"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)",
"function BATCH_INBOX_SLOT() view returns (bytes32)",
"function DISPUTE_GAME_FACTORY_SLOT() view returns (bytes32)",
"function L1_CROSS_DOMAIN_MESSENGER_SLOT() view returns (bytes32)",
"function L1_ERC_721_BRIDGE_SLOT() view returns (bytes32)",
"function L1_STANDARD_BRIDGE_SLOT() view returns (bytes32)",
"function OPTIMISM_MINTABLE_ERC20_FACTORY_SLOT() view returns (bytes32)",
"function OPTIMISM_PORTAL_SLOT() view returns (bytes32)",
"function START_BLOCK_SLOT() view returns (bytes32)",
"function UNSAFE_BLOCK_SIGNER_SLOT() view returns (bytes32)",
"function VERSION() view returns (uint256)",
"function basefeeScalar() view returns (uint32)",
"function batchInbox() view returns (address addr_)",
"function batcherHash() view returns (bytes32)",
"function blobbasefeeScalar() view returns (uint32)",
"function disputeGameFactory() view returns (address addr_)",
"function eip1559Denominator() view returns (uint32)",
"function eip1559Elasticity() view returns (uint32)",
"function gasLimit() view returns (uint64)",
"function gasPayingToken() view returns (address addr_, uint8 decimals_)",
"function gasPayingTokenName() view returns (string name_)",
"function gasPayingTokenSymbol() view returns (string symbol_)",
"function initialize(address _owner, uint32 _basefeeScalar, uint32 _blobbasefeeScalar, bytes32 _batcherHash, uint64 _gasLimit, address _unsafeBlockSigner, tuple(uint32 maxResourceLimit, uint8 elasticityMultiplier, uint8 baseFeeMaxChangeDenominator, uint32 minimumBaseFee, uint32 systemTxMaxGas, uint128 maximumBaseFee) _config, address _batchInbox, tuple(address l1CrossDomainMessenger, address l1ERC721Bridge, address l1StandardBridge, address disputeGameFactory, address optimismPortal, address optimismMintableERC20Factory, address gasPayingToken) _addresses)",
"function isCustomGasToken() view returns (bool)",
"function l1CrossDomainMessenger() view returns (address addr_)",
"function l1ERC721Bridge() view returns (address addr_)",
"function l1StandardBridge() view returns (address addr_)",
"function maximumGasLimit() pure returns (uint64)",
"function minimumGasLimit() view returns (uint64)",
"function optimismMintableERC20Factory() view returns (address addr_)",
"function optimismPortal() view returns (address addr_)",
"function overhead() view returns (uint256)",
"function owner() view returns (address)",
"function renounceOwnership()",
"function resourceConfig() view returns (tuple(uint32 maxResourceLimit, uint8 elasticityMultiplier, uint8 baseFeeMaxChangeDenominator, uint32 minimumBaseFee, uint32 systemTxMaxGas, uint128 maximumBaseFee))",
"function scalar() view returns (uint256)",
"function setBatcherHash(bytes32 _batcherHash)",
"function setEIP1559Params(uint32 _denominator, uint32 _elasticity)",
"function setGasConfig(uint256 _overhead, uint256 _scalar)",
"function setGasConfigEcotone(uint32 _basefeeScalar, uint32 _blobbasefeeScalar)",
"function setGasLimit(uint64 _gasLimit)",
"function setUnsafeBlockSigner(address _unsafeBlockSigner)",
"function startBlock() view returns (uint256 startBlock_)",
"function transferOwnership(address newOwner)",
"function unsafeBlockSigner() view returns (address addr_)",
"function version() pure returns (string)"
],
"0xbB7aD3f9CCbC94085b7F7B1D5258e59F5F068741": [
"constructor(address _admin)",
"event AdminChanged(address previousAdmin, address newAdmin)",
Expand Down Expand Up @@ -1007,47 +1076,6 @@
"function paused() view returns (bool paused_)",
"function unpause()",
"function version() view returns (string)"
],
"0xfaE274B77BA59f001196689f93E9e73693866f4a": [
"constructor()",
"event ConfigUpdate(uint256 indexed version, uint8 indexed updateType, bytes data)",
"event Initialized(uint8 version)",
"event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)",
"function BATCH_INBOX_SLOT() view returns (bytes32)",
"function L1_CROSS_DOMAIN_MESSENGER_SLOT() view returns (bytes32)",
"function L1_ERC_721_BRIDGE_SLOT() view returns (bytes32)",
"function L1_STANDARD_BRIDGE_SLOT() view returns (bytes32)",
"function L2_OUTPUT_ORACLE_SLOT() view returns (bytes32)",
"function OPTIMISM_MINTABLE_ERC20_FACTORY_SLOT() view returns (bytes32)",
"function OPTIMISM_PORTAL_SLOT() view returns (bytes32)",
"function START_BLOCK_SLOT() view returns (bytes32)",
"function UNSAFE_BLOCK_SIGNER_SLOT() view returns (bytes32)",
"function VERSION() view returns (uint256)",
"function batchInbox() view returns (address addr_)",
"function batcherHash() view returns (bytes32)",
"function gasLimit() view returns (uint64)",
"function initialize(address _owner, uint256 _overhead, uint256 _scalar, bytes32 _batcherHash, uint64 _gasLimit, address _unsafeBlockSigner, tuple(uint32 maxResourceLimit, uint8 elasticityMultiplier, uint8 baseFeeMaxChangeDenominator, uint32 minimumBaseFee, uint32 systemTxMaxGas, uint128 maximumBaseFee) _config, address _batchInbox, tuple(address l1CrossDomainMessenger, address l1ERC721Bridge, address l1StandardBridge, address l2OutputOracle, address optimismPortal, address optimismMintableERC20Factory) _addresses)",
"function l1CrossDomainMessenger() view returns (address addr_)",
"function l1ERC721Bridge() view returns (address addr_)",
"function l1StandardBridge() view returns (address addr_)",
"function l2OutputOracle() view returns (address addr_)",
"function minimumGasLimit() view returns (uint64)",
"function optimismMintableERC20Factory() view returns (address addr_)",
"function optimismPortal() view returns (address addr_)",
"function overhead() view returns (uint256)",
"function owner() view returns (address)",
"function renounceOwnership()",
"function resourceConfig() view returns (tuple(uint32 maxResourceLimit, uint8 elasticityMultiplier, uint8 baseFeeMaxChangeDenominator, uint32 minimumBaseFee, uint32 systemTxMaxGas, uint128 maximumBaseFee))",
"function scalar() view returns (uint256)",
"function setBatcherHash(bytes32 _batcherHash)",
"function setGasConfig(uint256 _overhead, uint256 _scalar)",
"function setGasLimit(uint64 _gasLimit)",
"function setResourceConfig(tuple(uint32 maxResourceLimit, uint8 elasticityMultiplier, uint8 baseFeeMaxChangeDenominator, uint32 minimumBaseFee, uint32 systemTxMaxGas, uint128 maximumBaseFee) _config)",
"function setUnsafeBlockSigner(address _unsafeBlockSigner)",
"function startBlock() view returns (uint256 startBlock_)",
"function transferOwnership(address newOwner)",
"function unsafeBlockSigner() view returns (address addr_)",
"function version() view returns (string)"
]
},
"usedTemplates": {
Expand Down
38 changes: 38 additions & 0 deletions packages/backend/discovery/kinto/ethereum/diffHistory.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
Generated with discovered.json: 0x2bd708fab05955301c1f1d6ccf735f064a471fbd

# Diff at Wed, 18 Dec 2024 12:34:31 GMT:

- author: sekuba (<[email protected]>)
- comparing to: main@a44ef6747febdd9930ef05420e60556c20899f13 block: 21394564
- current block number: 21429443

## Description

Minor Bridger upgrade, notably adding a `rescueToken` function callable by the owner that does what it says (Bridger does not usually escrow funds, it behaves like a router).

## Watched changes

```diff
contract Bridger (0x0f1b7bd7762662B23486320AA91F30312184f70C) {
+++ description: Bridger gateway that can swap assets to 'L2 final assets' before bridging them to the L2.
sourceHashes.1:
- "0xe7c2c13ea3945f7f426234c719fd1c436d2f5e0152427b80b30ca059c9f2f4e5"
+ "0xe2aec4572349f66126b1ebb9d5e63c56d78d4655c3d036b5fdcd621c052125e5"
values.$implementation:
- "0x21D3921B50617BDef223207118950B0b577e4007"
+ "0xae2F80339Bdd9bd384502A62aEe956eAbF3796e6"
values.$pastUpgrades.11:
+ ["2024-12-17T00:38:35.000Z","0x9e8c1bcb81d01c1d3ed8c7f0b34ac033d5838e341641a809a6a1ad101139e118",["0xae2F80339Bdd9bd384502A62aEe956eAbF3796e6"]]
values.$upgradeCount:
- 11
+ 12
}
```

## Source code changes

```diff
.../{.flat@21394564 => .flat}/Bridger/Bridger.sol | 27 ++++++++++++++++++++--
1 file changed, 25 insertions(+), 2 deletions(-)
```

Generated with discovered.json: 0x8a5f69d0cb6b892ebfd38ca8887bac3224e03da8

# Diff at Fri, 06 Dec 2024 08:09:46 GMT:
Expand Down
Loading

0 comments on commit 70f847f

Please sign in to comment.