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

Add sepolia deployment #1335

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
2 changes: 1 addition & 1 deletion ops/docker/hardhat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:18-alpine

# bring in the config files for installing deps
COPY [ \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,8 @@ describe('gas-price-oracle', () => {
await tempGasPriceOracleAltL1Service.init()

const input = [-100, 2, 2, 2, 2, 2, 2, 2, 2, 10000]
const filteredOutliers = tempGasPriceOracleAltL1Service.filterOutliers(input)
const filteredOutliers =
tempGasPriceOracleAltL1Service.filterOutliers(input)
expect(filteredOutliers.includes(10000)).to.be.eq(false)
expect(filteredOutliers.includes(-100)).to.be.eq(false)
expect(filteredOutliers.length).to.be.eq(input.length - 2)
Expand Down Expand Up @@ -908,7 +909,9 @@ describe('gas-price-oracle', () => {
tempGasPriceOracleAltL1Service.options.l1TokenCoinGeckoId
)
const BobaPriceFromCoinMarketCap =
await tempGasPriceOracleAltL1Service._getTokenPriceFromCoinMarketCap('14556')
await tempGasPriceOracleAltL1Service._getTokenPriceFromCoinMarketCap(
'14556'
)
const l1NativeTokenPriceFromCoinMarketCap =
await tempGasPriceOracleAltL1Service._getTokenPriceFromCoinMarketCap(
tempGasPriceOracleAltL1Service.options.l1TokenCoinMarketCapId
Expand Down Expand Up @@ -962,12 +965,6 @@ describe('gas-price-oracle', () => {
expect(priceRatio.toNumber()).to.be.gte(calculatedPriceRatio - 2)
expect(priceRatio.toNumber()).to.be.lte(calculatedPriceRatio + 2)
/* eslint-enable */

// Don't update the price ratio if the price is the same
const preBlockNumber = await wallet8.provider.getBlockNumber()
await tempGasPriceOracleAltL1Service._updatePriceRatio()
const postBlockNumber = await wallet8.provider.getBlockNumber()
expect(preBlockNumber).to.be.eq(postBlockNumber)
})
})
})
18 changes: 9 additions & 9 deletions packages/contracts/deployments/sepolia/BondManager.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x6774dF4FcAe2619DCDa9d2678598b9DAF2Ce9a2A",
"address": "0x3a300c325ebfcc9D5C1a8B15DBcd3c91214e08D4",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -64,24 +64,24 @@
"type": "function"
}
],
"transactionHash": "0x272c7531f75c0168ea4a6490e989780bc6e744da2bbd300e75a24037135d23d6",
"transactionHash": "0xbe00a7c9461a60f257ba465e6ccbd371c485eea0bdc3235aa79cdc7819c07700",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0x6774dF4FcAe2619DCDa9d2678598b9DAF2Ce9a2A",
"transactionIndex": 105,
"contractAddress": "0x3a300c325ebfcc9D5C1a8B15DBcd3c91214e08D4",
"transactionIndex": 155,
"gasUsed": "286783",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x31ff517a025cca95622d99f3c9783c064b67b895a23f94589e4c50d01d0bfcbd",
"transactionHash": "0x272c7531f75c0168ea4a6490e989780bc6e744da2bbd300e75a24037135d23d6",
"blockHash": "0xced3e7b8987d3cd136ac08d349eb5d2b85cdfa26a4651ccdd4d940b3467980dd",
"transactionHash": "0xbe00a7c9461a60f257ba465e6ccbd371c485eea0bdc3235aa79cdc7819c07700",
"logs": [],
"blockNumber": 5050104,
"cumulativeGasUsed": "7567221",
"blockNumber": 5104576,
"cumulativeGasUsed": "17134931",
"status": 1,
"byzantium": true
},
"args": [
"0x9bfDB898bf6D279629830F72d00c3918aB924072"
"0xC62C429390B7bCE9960fa647d5556CA7238168AB"
],
"numDeployments": 1,
"solcInputHash": "5a0ee3f9944e5015db55424964dba2da",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xD428939DA378f8fA0C51271D06ccD15285EF35CA",
"address": "0x3036d7458AefCbA0D045B13F5bf897eA1C1Ffda6",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -494,24 +494,24 @@
"type": "function"
}
],
"transactionHash": "0xf505a45ff415314e2b4846f0059a78fa53d204859d128e6c737f76d62da83759",
"transactionHash": "0x7e47cd925a449530de32c69b93b15b6355c12b1bb18e574378ef02798ab84c3a",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0xD428939DA378f8fA0C51271D06ccD15285EF35CA",
"transactionIndex": 29,
"contractAddress": "0x3036d7458AefCbA0D045B13F5bf897eA1C1Ffda6",
"transactionIndex": 42,
"gasUsed": "1586761",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xa9d1e86d4bd48f3aaa41c526d2b2af26710a79a35d3231d997f2abe57171e8ce",
"transactionHash": "0xf505a45ff415314e2b4846f0059a78fa53d204859d128e6c737f76d62da83759",
"blockHash": "0xf84742ce102480718c5c5bfb75dc9edd13a19b81c49fc7ac8359d921dbe9c38f",
"transactionHash": "0x7e47cd925a449530de32c69b93b15b6355c12b1bb18e574378ef02798ab84c3a",
"logs": [],
"blockNumber": 5050100,
"cumulativeGasUsed": "3864696",
"blockNumber": 5104572,
"cumulativeGasUsed": "4219531",
"status": 1,
"byzantium": true
},
"args": [
"0x9bfDB898bf6D279629830F72d00c3918aB924072",
"0xC62C429390B7bCE9960fa647d5556CA7238168AB",
11000000,
32,
60000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xd557f585DA7eBb6C8Fb8935B88Ede8c313E34C2d",
"address": "0xBb8Dd2159B71dAC95A08E7cf9fEe015c4ad66a11",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -183,24 +183,24 @@
"type": "function"
}
],
"transactionHash": "0x155392bbc8b13aa4dc94a50d798010d7018352653ac03553ee9b6ec68eecdf35",
"transactionHash": "0x2ef056ce2c0a894b08203b44fbc9c13d47a11a547e4d6e275a2899fd5002cf74",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0xd557f585DA7eBb6C8Fb8935B88Ede8c313E34C2d",
"transactionIndex": 59,
"contractAddress": "0xBb8Dd2159B71dAC95A08E7cf9fEe015c4ad66a11",
"transactionIndex": 58,
"gasUsed": "938417",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xc805afe6651d9d028554c67ce4bcf656034415139eca32d511095dc358b2e669",
"transactionHash": "0x155392bbc8b13aa4dc94a50d798010d7018352653ac03553ee9b6ec68eecdf35",
"blockHash": "0x69f80eeffaaf9179b68b6caa6c787a84286f2005634f910c31ce14586043ee4b",
"transactionHash": "0x2ef056ce2c0a894b08203b44fbc9c13d47a11a547e4d6e275a2899fd5002cf74",
"logs": [],
"blockNumber": 5050094,
"cumulativeGasUsed": "8218194",
"blockNumber": 5104565,
"cumulativeGasUsed": "5651868",
"status": 1,
"byzantium": true
},
"args": [
"0x9bfDB898bf6D279629830F72d00c3918aB924072",
"0xC62C429390B7bCE9960fa647d5556CA7238168AB",
"CanonicalTransactionChain"
],
"numDeployments": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xb82eC928389cd2c232D4c9F584B13E4Db1B5E58c",
"address": "0x5A9F6e8314070d29C7AEfAB18FBe0D8626be5Dec",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -183,24 +183,24 @@
"type": "function"
}
],
"transactionHash": "0x3ee4ca6d9ac3b28d1b13c73e31381a404dfda627f1734fb4dff2ecb9f502111b",
"transactionHash": "0x9e860802e81b5e0813b309dc165e269f2c93ad48a5e3f456e58900dd48113031",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0xb82eC928389cd2c232D4c9F584B13E4Db1B5E58c",
"transactionIndex": 52,
"contractAddress": "0x5A9F6e8314070d29C7AEfAB18FBe0D8626be5Dec",
"transactionIndex": 80,
"gasUsed": "938417",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xf01a58b47273ccdcf7a59585f54011381f735cfb483fb8e08f0ec4ff54e08502",
"transactionHash": "0x3ee4ca6d9ac3b28d1b13c73e31381a404dfda627f1734fb4dff2ecb9f502111b",
"blockHash": "0xbab4eeb5b4f8b6862781cfaba9f1ccd57c1288854589fab67e025dd88beb7ee8",
"transactionHash": "0x9e860802e81b5e0813b309dc165e269f2c93ad48a5e3f456e58900dd48113031",
"logs": [],
"blockNumber": 5050096,
"cumulativeGasUsed": "6269152",
"blockNumber": 5104567,
"cumulativeGasUsed": "8012091",
"status": 1,
"byzantium": true
},
"args": [
"0x9bfDB898bf6D279629830F72d00c3918aB924072",
"0xC62C429390B7bCE9960fa647d5556CA7238168AB",
"CanonicalTransactionChain"
],
"numDeployments": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0xfc6699a9170A4F493eE60DD472585C3e9CD059C2",
"address": "0x486A5495BF4E72Da857C8ABc85497F28f5AA4ff0",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -183,24 +183,24 @@
"type": "function"
}
],
"transactionHash": "0x23407e809a53f85d258dd6afc3f74edd11a83ec322a15be12d27a8105c9284a7",
"transactionHash": "0xf0e6d1113772efed4a2d0cd8819a1bcd687d7861d6da9c9649d426e551eb93c7",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0xfc6699a9170A4F493eE60DD472585C3e9CD059C2",
"transactionIndex": 59,
"contractAddress": "0x486A5495BF4E72Da857C8ABc85497F28f5AA4ff0",
"transactionIndex": 56,
"gasUsed": "938357",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x37431fa1279f592a3e98f2cbe6d4810418d11505511b3194150eb4bded6f499f",
"transactionHash": "0x23407e809a53f85d258dd6afc3f74edd11a83ec322a15be12d27a8105c9284a7",
"blockHash": "0x2eb0c00a1186374d9cafb395e91d921885c1d18830057ec64c9c8a29c1a4e29b",
"transactionHash": "0xf0e6d1113772efed4a2d0cd8819a1bcd687d7861d6da9c9649d426e551eb93c7",
"logs": [],
"blockNumber": 5050098,
"cumulativeGasUsed": "9701100",
"blockNumber": 5104569,
"cumulativeGasUsed": "7603595",
"status": 1,
"byzantium": true
},
"args": [
"0x9bfDB898bf6D279629830F72d00c3918aB924072",
"0xC62C429390B7bCE9960fa647d5556CA7238168AB",
"StateCommitmentChain"
],
"numDeployments": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x6F3B7Eb9F33f49d887C56c7D77839392fBcf54B8",
"address": "0x792eCcF00735D5cF92618DD2113D902696E22aC2",
"abi": [
{
"inputs": [
Expand Down Expand Up @@ -151,24 +151,24 @@
"type": "function"
}
],
"transactionHash": "0x62d983f00e2df3b11241b604b69b3296d04f5d5b5b38c1bc78ef6bd9e35510a4",
"transactionHash": "0x5e99502366dd78447d62b12b066c410a60856139b7613918b6f1014c7ac676a1",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0x6F3B7Eb9F33f49d887C56c7D77839392fBcf54B8",
"transactionIndex": 1,
"contractAddress": "0x792eCcF00735D5cF92618DD2113D902696E22aC2",
"transactionIndex": 66,
"gasUsed": "698050",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x74dfa71cfe63d508597e8be7337811c0ced08032df9145bd355f871fbe403191",
"transactionHash": "0x62d983f00e2df3b11241b604b69b3296d04f5d5b5b38c1bc78ef6bd9e35510a4",
"blockHash": "0x23bce435275bc46f18e70d7bf4203df00ae8a46f822df85f7edca0f39b0e651c",
"transactionHash": "0x5e99502366dd78447d62b12b066c410a60856139b7613918b6f1014c7ac676a1",
"logs": [],
"blockNumber": 5050117,
"cumulativeGasUsed": "1195253",
"blockNumber": 5104589,
"cumulativeGasUsed": "10317742",
"status": 1,
"byzantium": true
},
"args": [
"0x9bfDB898bf6D279629830F72d00c3918aB924072"
"0xC62C429390B7bCE9960fa647d5556CA7238168AB"
],
"numDeployments": 1,
"solcInputHash": "5a0ee3f9944e5015db55424964dba2da",
Expand Down
30 changes: 15 additions & 15 deletions packages/contracts/deployments/sepolia/Lib_AddressManager.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x9bfDB898bf6D279629830F72d00c3918aB924072",
"address": "0xC62C429390B7bCE9960fa647d5556CA7238168AB",
"abi": [
{
"anonymous": false,
Expand Down Expand Up @@ -116,34 +116,34 @@
"type": "function"
}
],
"transactionHash": "0x7b9844f324ab1a98bda4d227708ce93343c47b805a8e8bf662eff5dffd04bf32",
"transactionHash": "0x0f8252b1a5f1aab9deef132cefca6c9337e5f8c1c4faa4a9e3ad30600098a89a",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0x9bfDB898bf6D279629830F72d00c3918aB924072",
"transactionIndex": 64,
"contractAddress": "0xC62C429390B7bCE9960fa647d5556CA7238168AB",
"transactionIndex": 67,
"gasUsed": "454693",
"logsBloom": "0x00000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000001000000004000000000000000000000000000020000000000000004000800000000000000000000040000000000400000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xf66cec530b32ebca7f50c1c5714d2a036036e3210410d6ef415f1857f4edd61a",
"transactionHash": "0x7b9844f324ab1a98bda4d227708ce93343c47b805a8e8bf662eff5dffd04bf32",
"logsBloom": "0x00000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000001000000000000000000000000000000000000020000000000000004000800000000000000000000040000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000040000000000000000000000002000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xda2bdd2e3510534e1041dfa2f0e50cb3242cd6a4943257dee0f99d83450ba1f7",
"transactionHash": "0x0f8252b1a5f1aab9deef132cefca6c9337e5f8c1c4faa4a9e3ad30600098a89a",
"logs": [
{
"transactionIndex": 64,
"blockNumber": 5050016,
"transactionHash": "0x7b9844f324ab1a98bda4d227708ce93343c47b805a8e8bf662eff5dffd04bf32",
"address": "0x9bfDB898bf6D279629830F72d00c3918aB924072",
"transactionIndex": 67,
"blockNumber": 5104556,
"transactionHash": "0x0f8252b1a5f1aab9deef132cefca6c9337e5f8c1c4faa4a9e3ad30600098a89a",
"address": "0xC62C429390B7bCE9960fa647d5556CA7238168AB",
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000e62b0e3a9f715493301ebdec8310c899eae5b30c"
],
"data": "0x",
"logIndex": 96,
"blockHash": "0xf66cec530b32ebca7f50c1c5714d2a036036e3210410d6ef415f1857f4edd61a"
"logIndex": 113,
"blockHash": "0xda2bdd2e3510534e1041dfa2f0e50cb3242cd6a4943257dee0f99d83450ba1f7"
}
],
"blockNumber": 5050016,
"cumulativeGasUsed": "6681308",
"blockNumber": 5104556,
"cumulativeGasUsed": "5692614",
"status": 1,
"byzantium": true
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"address": "0x6aFF95CAf88e52aA4E7E21d21d293E518ba67399",
"address": "0xe32eeF4274E0088e88373deD1541c74970eC29c8",
"abi": [
{
"inputs": [],
Expand Down Expand Up @@ -521,19 +521,19 @@
"type": "function"
}
],
"transactionHash": "0x037dea4327f0b48546a2f57bffa7756c0c2d2c81cdc956cbf37b92bcf59bac87",
"transactionHash": "0x78e80cc4391c2183f41e35acf1935463dbe4ed8d5af6c89512571b39d57f30a4",
"receipt": {
"to": null,
"from": "0xe62B0E3a9F715493301eBdEC8310C899eae5b30c",
"contractAddress": "0x6aFF95CAf88e52aA4E7E21d21d293E518ba67399",
"transactionIndex": 73,
"contractAddress": "0xe32eeF4274E0088e88373deD1541c74970eC29c8",
"transactionIndex": 1,
"gasUsed": "3463291",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x8215a1362f7975068b72704b1ecdbc9928c9389be5b47c77b7d62a63a16046a7",
"transactionHash": "0x037dea4327f0b48546a2f57bffa7756c0c2d2c81cdc956cbf37b92bcf59bac87",
"blockHash": "0x028120f450df4376fb148a4cd465073f5e318ce08a7deeec6e159b16fccd6813",
"transactionHash": "0x78e80cc4391c2183f41e35acf1935463dbe4ed8d5af6c89512571b39d57f30a4",
"logs": [],
"blockNumber": 5050106,
"cumulativeGasUsed": "12855177",
"blockNumber": 5104578,
"cumulativeGasUsed": "8130131",
"status": 1,
"byzantium": true
},
Expand Down
Loading
Loading