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

Bug: QuickStart deploy Core Contract #104

Open
mashharuki opened this issue Jan 18, 2025 · 1 comment
Open

Bug: QuickStart deploy Core Contract #104

mashharuki opened this issue Jan 18, 2025 · 1 comment

Comments

@mashharuki
Copy link

I tried deploy core contract .

but it may be failed...

$ cd contracts && forge script script/DeployEigenLayerCore.s.sol --rpc-url http://localhost:8545 --broadcast --optimize --optimizer-runs 200 --via-ir
[⠊] Compiling...
No files changed, compilation skipped
EIP-3855 is not supported in one or more of the RPCs used.
Unsupported Chain IDs: 31337.
Contracts deployed with a Solidity version equal or higher than 0.8.20 might not work properly.
For more information, please see https://eips.ethereum.org/EIPS/eip-3855
Script ran successfully.

== Logs ==
  Deployment artifacts written to: deployments/core/31337.json

## Setting up 1 EVM.

==========================

Chain 31337

Estimated gas price: 2.000000001 gwei

Estimated total gas used for script: 37574048

Estimated amount required: 0.075148096037574048 ETH

==========================

##### anvil-hardhat
❌  [Failed]Hash: 0xfb4cccce5ca6b78c9f8bb80e42eb12d47eaa75e12a4c8b2d32d9d0f5fe449c21
Contract Address: 0x5FbDB2315678afecb367f032d93F642f64180aa3
Block: 1
Paid: 0.000536836000536836 ETH (536836 gas * 1.000000001 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0xc39a9c71483113865f96d0068a322a816300639d9e50186d5debf529dca3bfe2
Contract Address: 0x0165878A594ca255338adfa4d48449f69242Eb8F
Block: 4
Paid: 0.000463432993507748 ETH (677974 gas * 0.683555702 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x55c70f6b53df24f1bede798046dd9598b3671a2eb4d74f6bd8ee07689ac6be1a
Contract Address: 0xa513E6E4b8f2a923D98304ec87F64353C4D5C853
Block: 5
Paid: 0.00004712306250358 ETH (78281 gas * 0.60197318 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x867961558922367a05a7dfc685e67c8db0b68198939038378d814694fed104ca
Contract Address: 0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512
Block: 2
Paid: 0.000068846075543154 ETH (78281 gas * 0.879473634 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x5c000fe3366a45f5c5be7ac271da9ef00444e32644aec374bd6a9ab563b05ed0
Contract Address: 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
Block: 3
Paid: 0.000522116690724178 ETH (677974 gas * 0.770113147 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x3eb47ade1c9c88a8304e7502ce3a971936eef7fd170cbc85cfaf024c5cde8078
Contract Address: 0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9
Block: 3
Paid: 0.000060285227260307 ETH (78281 gas * 0.770113147 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x3b0cbebba7adf0a0d6c748612630ba7cc0d66d0012fa1d779309d96a99455b3d
Contract Address: 0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9
Block: 3
Paid: 0.000522116690724178 ETH (677974 gas * 0.770113147 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0xa146eadcfbc8c30d04b4b271161d124105dc62ab187bc11d0615c5018df8d295
Contract Address: 0x5FC8d32690cc91D4c39d9d3abcBD16989F875707
Block: 3
Paid: 0.000060285227260307 ETH (78281 gas * 0.770113147 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x5393e4ef3fa678ce3897209e93c8adabef360149dc3f546fa7b567bd4096615e
Contract Address: 0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6
Block: 6
Paid: 0.000357373128772176 ETH (677974 gas * 0.527119224 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0xd859126073732a721ca01e2d591b954ae5cfcb51c59e9ab903876f86f6845edf
Contract Address: 0x8A791620dd6260079BF849Dc5567aDC3F2FdC318
Block: 7
Paid: 0.00003633862182783 ETH (78281 gas * 0.46420743 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0xdbd9a3bac821b2a71fbcbcc5c7852266f04e7467f76db6a1edc014d5198beee5
Contract Address: 0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e
Block: 9
Paid: 0.000028022275481011 ETH (78281 gas * 0.357970331 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0xdc3595344d823ab13523b81b9dc94fa6a7aa6064575524e9a24b72e5994c5bfa
Contract Address: 0x610178dA211FEF7D417bC0e6FeD39F05609AD788
Block: 8
Paid: 0.000275585802401602 ETH (677974 gas * 0.406484323 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x29461d0668ffb848764225ebf3648757a7346c374cc583cf49f936afc35c30bb
Contract Address: 0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0
Block: 10
Paid: 0.000212516074427492 ETH (677974 gas * 0.313457558 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0xc2d36036c690ae84f8be11d42f2f6c6f9a162187aa105482b2f9406ebdc8489b
Contract Address: 0x0B306BF915C4d645ff596e518fAf3F9669b97016
Block: 11
Paid: 0.000021763822881899 ETH (78281 gas * 0.278021779 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x69efca7d8e1b5edf2e4fc95114b6287f3ef4735453daaf72ef6a20398f569feb
Contract Address: 0x9A676e781A523b5d0C0e43731313A708CB607508
Block: 10
Paid: 0.000212516074427492 ETH (677974 gas * 0.313457558 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x824ed7e7f064412751bc5fae9166909c592c7664930c47379ac7d6a6a3d91954
Contract Address: 0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82
Block: 10
Paid: 0.000024537771097798 ETH (78281 gas * 0.313457558 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x64b43e962155e3f7dcc5eb8cf36200d0fb478be3cb96b4ec82c8d48660d79012
Contract Address: 0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1
Block: 12
Paid: 0.000165053055727054 ETH (677974 gas * 0.243450421 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x3ce6213a4ea2c443235f168b72d0b5002afc06870182fc0bf26c22a52ffcdfc5
Contract Address: 0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE
Block: 13
Paid: 0.00132747472975072 ETH (6191737 gas * 0.21439456 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0xb523aecf28753d4b0abe0fdfd7eb169e3c4cd99aa328f64de86d8203c136c14e
Contract Address: 0x68B1D87F95878fE05B998F19b66F4baba5De1aed
Block: 13
Paid: 0.00041408143878944 ETH (1931399 gas * 0.21439456 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x9701179bcc53bf37be67535db51e9ac47909d85b234f118d33777a35373039fa
Contract Address: 0x7a2088a1bFc9d81c55368AE168C2C02570cB814F
Block: 18
Paid: 0.000048749825458108 ETH (341188 gas * 0.142882591 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x4874e68ff0f53a6ab2711dd353fd544ff11cd2873627aaefd2f36576e9b13ce0
Contract Address: 0x3Aa5ebB10DC797CAC828524e59A333d0A371443c
Block: 13
Paid: 0.00066955399648544 ETH (3122999 gas * 0.21439456 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x4aec1078e31cde75b71f44f4c228c727c805494e65feb79f95920258c47e3e9d
Contract Address: 0x09635F643e140090A9A8Dcd712eD6285858ceBef
Block: 19
Paid: 0.00004558548863457 ETH (363438 gas * 0.125428515 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x09d7ce4ef02fb957f5d5aa4362564d985a1a60b27f76a0e3647db32f1cf6bbdc
Contract Address: 0x4A679253410272dd5232B3Ff7cF5dbB88f295319
Block: 17
Paid: 0.00025854001966156 ETH (1607515 gas * 0.160832104 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x84f15145dd9d01d346eba6998630e23b6a893f6067f32fb212ce15e8467db7cc
Contract Address: 0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f
Block: 16
Paid: 0.000066572427102048 ETH (363438 gas * 0.183174096 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x1193a68d83904c675967972248121f749802bf1b0888d21a9d1510704756a3b1
Contract Address: 0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44
Block: 15
Paid: 0.00089921887094646 ETH (4478676 gas * 0.200777835 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0xb8e6e1590820c46847847d15664910447dbf83beb38af1bc5317a009fa5b32b6
Contract Address: 0xc6e7DF5E7b4f2A278906862b61205850344D4e7d
Block: 14
Paid: 0.000468525454415488 ETH (2255912 gas * 0.207687824 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x2a310bcf385133fd21a8c8145f00405956b92aa2c18deb479413dd2a41b37ac2
Block: 19
Paid: 0.0000029877072273 ETH (23820 gas * 0.125428515 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0xac67838bcf0188920fdbc11cb21b1e6f11ed83d030a4ee6e49a706ae7d976191
Block: 19
Paid: 0.00000294606496032 ETH (23488 gas * 0.125428515 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0xf0cf47f44227b6b012db343a5ad20be7e6975ecc8d823e64af02fac2fa420ecd
Contract Address: 0x59b670e9fA9D0A427751Af201D676719a970857b
Block: 14
Paid: 0.000675634660137824 ETH (3253126 gas * 0.207687824 gwei)


##### anvil-hardhat
❌  [Failed]Hash: 0x84cff7a9f4098a27bd5f943af6e338166dfea838508d76621748cba58528f93b
Contract Address: 0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1
Block: 14
Paid: 0.001141958623618912 ETH (5498438 gas * 0.207687824 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0xc718ef3916b7448f279fedfedc0a7e9b69104d9b5f76ab991c3aa4bb71219f21
Block: 20
Paid: 0.000002586568706852 ETH (23476 gas * 0.110179277 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x73f31efc6fd52b55555391cefa86fecd364da4d4d383c0b7df5ca2ab61069caa
Block: 21
Paid: 0.00000222942511664 ETH (23120 gas * 0.096428422 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0xce95b3da30a5745d892108e5913304b1b565ecfa8552abc6732d18a3f191c07b
Block: 22
Paid: 0.000001950163773276 ETH (23108 gas * 0.084393447 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x7e01b346043a9869174e7d7e77d17322b13d03af398dee2abf89288d399f0b9d
Block: 23
Paid: 0.000001755516768056 ETH (23768 gas * 0.073860517 gwei)


##### anvil-hardhat
✅  [Success]Hash: 0x68a899fdc7ae2591b9f1e49723ddf936991752871470a00f2e0b8c81d51b9128
Block: 24
Paid: 0.000001462473752544 ETH (22624 gas * 0.064642581 gwei)


Transactions saved to: /Users/harukikondo/git/hello-world-avs/contracts/broadcast/DeployEigenLayerCore.s.sol/31337/run-latest.json

Sensitive values saved to: /Users/harukikondo/git/hello-world-avs/contracts/cache/DeployEigenLayerCore.s.sol/31337/run-latest.json

Error: 
Transaction Failure: 0xfb4cccce5ca6b78c9f8bb80e42eb12d47eaa75e12a4c8b2d32d9d0f5fe449c21
Transaction Failure: 0xc39a9c71483113865f96d0068a322a816300639d9e50186d5debf529dca3bfe2
Transaction Failure: 0x5c000fe3366a45f5c5be7ac271da9ef00444e32644aec374bd6a9ab563b05ed0
Transaction Failure: 0x3b0cbebba7adf0a0d6c748612630ba7cc0d66d0012fa1d779309d96a99455b3d
Transaction Failure: 0x5393e4ef3fa678ce3897209e93c8adabef360149dc3f546fa7b567bd4096615e
Transaction Failure: 0xdc3595344d823ab13523b81b9dc94fa6a7aa6064575524e9a24b72e5994c5bfa
Transaction Failure: 0x29461d0668ffb848764225ebf3648757a7346c374cc583cf49f936afc35c30bb
Transaction Failure: 0x69efca7d8e1b5edf2e4fc95114b6287f3ef4735453daaf72ef6a20398f569feb
Transaction Failure: 0x64b43e962155e3f7dcc5eb8cf36200d0fb478be3cb96b4ec82c8d48660d79012
Transaction Failure: 0x3ce6213a4ea2c443235f168b72d0b5002afc06870182fc0bf26c22a52ffcdfc5
Transaction Failure: 0xb523aecf28753d4b0abe0fdfd7eb169e3c4cd99aa328f64de86d8203c136c14e
Transaction Failure: 0x9701179bcc53bf37be67535db51e9ac47909d85b234f118d33777a35373039fa
Transaction Failure: 0x4874e68ff0f53a6ab2711dd353fd544ff11cd2873627aaefd2f36576e9b13ce0
Transaction Failure: 0x4aec1078e31cde75b71f44f4c228c727c805494e65feb79f95920258c47e3e9d
Transaction Failure: 0x09d7ce4ef02fb957f5d5aa4362564d985a1a60b27f76a0e3647db32f1cf6bbdc
Transaction Failure: 0x84f15145dd9d01d346eba6998630e23b6a893f6067f32fb212ce15e8467db7cc
Transaction Failure: 0x1193a68d83904c675967972248121f749802bf1b0888d21a9d1510704756a3b1
Transaction Failure: 0xb8e6e1590820c46847847d15664910447dbf83beb38af1bc5317a009fa5b32b6
Transaction Failure: 0xf0cf47f44227b6b012db343a5ad20be7e6975ecc8d823e64af02fac2fa420ecd
Transaction Failure: 0x84cff7a9f4098a27bd5f943af6e338166dfea838508d76621748cba58528f93b
error: script "deploy:core" exited with code 1

Why ??

I ran bellow commands

# Setup .env file
cp .env.example .env
cp contracts/.env.example contracts/.env
forge install

# Updates dependencies if necessary
bun install
# builds the contracts
bun run build

# Deploy the EigenLayer contracts
bun run deploy:core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@mashharuki and others