-
Notifications
You must be signed in to change notification settings - Fork 737
Deploy problem solved #471
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
Merged
xaler5
merged 2 commits into
OpenZeppelin:master
from
NabilTheNoise:DeployProblemSolved
Dec 19, 2022
Merged
Deploy problem solved #471
xaler5
merged 2 commits into
OpenZeppelin:master
from
NabilTheNoise:DeployProblemSolved
Dec 19, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@JithinKS97 Confirming that the deployment is working: yarn run v1.22.19
$ yarn compile:contracts && node --experimental-json-modules client/scripts/deploy_contracts.mjs
$ cd contracts && hardhat clean && hardhat compile
Warning: Return value of low-level calls not used.
--> contracts/levels/Denial.sol:19:9:
|
19 | partner.call{value:amountToSend}("");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/levels/Preservation.sol:22:5:
|
22 | timeZone1Library.delegatecall(abi.encodePacked(setTimeSignature, _timeStamp));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Return value of low-level calls not used.
--> contracts/levels/Preservation.sol:27:5:
|
27 | timeZone2Library.delegatecall(abi.encodePacked(setTimeSignature, _timeStamp));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
--> contracts/levels/NaughtCoin.sol:25:85:
|
25 | function transfer(address _to, uint256 _value) override public lockTokens returns(bool) {
| ^^^^
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/levels/RecoveryFactory.sol:12:27:
|
12 | function createInstance(address _player) override public payable returns (address) {
| ^^^^^^^^^^^^^^^
Compiled 114 Solidity files successfully
(node:124209) ExperimentalWarning: Importing JSON modules is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
<< NETWORK: local >>
connecting web3 to 'http://localhost:8545'...
(1) Will deploy Ethernaut.sol!
(2) Will deploy Statistics.sol!
(3) Will deploy ProxyAdmin.sol!
(4) Will deploy ProxyStats.sol!
(5) Will deploy InstanceFactory.sol (Hello Ethernaut)
(6) Will deploy FallbackFactory.sol (Fallback)
(7) Will deploy FalloutFactory.sol (Fallout)
(8) Will deploy CoinFlipFactory.sol (Coin Flip)
(9) Will deploy TelephoneFactory.sol (Telephone)
(10) Will deploy TokenFactory.sol (Token)
(11) Will deploy DelegationFactory.sol (Delegation)
(12) Will deploy ForceFactory.sol (Force)
(13) Will deploy VaultFactory.sol (Vault)
(14) Will deploy KingFactory.sol (King)
(15) Will deploy ReentranceFactory.sol (Re-entrancy)
(16) Will deploy ElevatorFactory.sol (Elevator)
(17) Will deploy PrivacyFactory.sol (Privacy)
(18) Will deploy GatekeeperOneFactory.sol (Gatekeeper One)
(19) Will deploy GatekeeperTwoFactory.sol (Gatekeeper Two)
(20) Will deploy NaughtCoinFactory.sol (Naught Coin)
(21) Will deploy PreservationFactory.sol (Preservation)
(22) Will deploy RecoveryFactory.sol (Recovery)
(23) Will deploy MagicNumFactory.sol (MagicNumber)
(24) Will deploy AlienCodexFactory.sol (Alien Codex)
(25) Will deploy DenialFactory.sol (Denial)
(26) Will deploy ShopFactory.sol (Shop)
(27) Will deploy DexFactory.sol (Dex)
(28) Will deploy DexTwoFactory.sol (Dex Two)
(29) Will deploy PuzzleWalletFactory.sol (Puzzle Wallet)
(30) Will deploy MotorbikeFactory.sol (Motorbike)
(31) Will deploy DoubleEntryPointFactory.sol (DoubleEntryPoint)
(32) Will deploy GoodSamaritanFactory.sol (Good Samaritan)
prompt: Confirm deployment? (y/n): y
FROM: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Deploying Ethernaut.sol...
Ethernaut: 0x1429859428C0aBc9C2C47C8Ee9FBaf82cFA0F20f
Deploying Statistics.sol...
Statistics: 0xB0D4afd8879eD9F52b28595d31B441D079B2Ca07
Deploying ProxyAdmin.sol...
ProxyAdmin: 0x162A433068F51e18b7d13932F27e66a3f99E6890
Deploying Proxy.sol...
Proxy: 0x922D6956C99E12DFeB3224DEA977D0939758A1Fe
Setting proxy in Ethernaut.sol...
Deploying InstanceFactory.sol, deployId: 0...
Deploying FallbackFactory.sol, deployId: 1...
Deploying FalloutFactory.sol, deployId: 2...
Deploying CoinFlipFactory.sol, deployId: 3...
Deploying TelephoneFactory.sol, deployId: 4...
Deploying TokenFactory.sol, deployId: 5...
Deploying DelegationFactory.sol, deployId: 6...
Deploying ForceFactory.sol, deployId: 7...
Deploying VaultFactory.sol, deployId: 8...
Deploying KingFactory.sol, deployId: 9...
Deploying ReentranceFactory.sol, deployId: 10...
Deploying ElevatorFactory.sol, deployId: 11...
Deploying PrivacyFactory.sol, deployId: 12...
Deploying GatekeeperOneFactory.sol, deployId: 13...
Deploying GatekeeperTwoFactory.sol, deployId: 14...
Deploying NaughtCoinFactory.sol, deployId: 15...
Deploying PreservationFactory.sol, deployId: 16...
Deploying RecoveryFactory.sol, deployId: 17...
Deploying MagicNumFactory.sol, deployId: 18...
Deploying AlienCodexFactory.sol, deployId: 19...
Deploying DenialFactory.sol, deployId: 20...
Deploying ShopFactory.sol, deployId: 21...
Deploying DexFactory.sol, deployId: 22...
Deploying DexTwoFactory.sol, deployId: 23...
Deploying PuzzleWalletFactory.sol, deployId: 24...
Deploying MotorbikeFactory.sol, deployId: 25...
Deploying DoubleEntryPointFactory.sol, deployId: 26...
Deploying GoodSamaritanFactory.sol, deployId: 27...
Hello Ethernaut: 0x1fA02b2d6A771842690194Cf62D91bdd92BfE28d
storing deployed id: 0 with address: 0x1fA02b2d6A771842690194Cf62D91bdd92BfE28d
Registering level InstanceFactory.sol in Ethernaut.sol...
Fallback: 0xdbC43Ba45381e02825b14322cDdd15eC4B3164E6
storing deployed id: 1 with address: 0xdbC43Ba45381e02825b14322cDdd15eC4B3164E6
Registering level FallbackFactory.sol in Ethernaut.sol...
Fallout: 0x04C89607413713Ec9775E14b954286519d836FEf
storing deployed id: 2 with address: 0x04C89607413713Ec9775E14b954286519d836FEf
Registering level FalloutFactory.sol in Ethernaut.sol...
Coin Flip: 0x4C4a2f8c81640e47606d3fd77B353E87Ba015584
storing deployed id: 3 with address: 0x4C4a2f8c81640e47606d3fd77B353E87Ba015584
Registering level CoinFlipFactory.sol in Ethernaut.sol...
Telephone: 0x21dF544947ba3E8b3c32561399E88B52Dc8b2823
storing deployed id: 4 with address: 0x21dF544947ba3E8b3c32561399E88B52Dc8b2823
Registering level TelephoneFactory.sol in Ethernaut.sol...
Token: 0x2E2Ed0Cfd3AD2f1d34481277b3204d807Ca2F8c2
storing deployed id: 5 with address: 0x2E2Ed0Cfd3AD2f1d34481277b3204d807Ca2F8c2
Registering level TokenFactory.sol in Ethernaut.sol...
Delegation: 0xD8a5a9b31c3C0232E196d518E89Fd8bF83AcAd43
storing deployed id: 6 with address: 0xD8a5a9b31c3C0232E196d518E89Fd8bF83AcAd43
Registering level DelegationFactory.sol in Ethernaut.sol...
Force: 0xDC11f7E700A4c898AE5CAddB1082cFfa76512aDD
storing deployed id: 7 with address: 0xDC11f7E700A4c898AE5CAddB1082cFfa76512aDD
Registering level ForceFactory.sol in Ethernaut.sol...
Gatekeeper One: 0x51A1ceB83B83F1985a81C295d1fF28Afef186E02
storing deployed id: 13 with address: 0x51A1ceB83B83F1985a81C295d1fF28Afef186E02
Registering level GatekeeperOneFactory.sol in Ethernaut.sol...
Gatekeeper Two: 0x36b58F5C1969B7b6591D752ea6F5486D069010AB
storing deployed id: 14 with address: 0x36b58F5C1969B7b6591D752ea6F5486D069010AB
Registering level GatekeeperTwoFactory.sol in Ethernaut.sol...
Naught Coin: 0x8198f5d8F8CfFE8f9C413d98a0A55aEB8ab9FbB7
storing deployed id: 15 with address: 0x8198f5d8F8CfFE8f9C413d98a0A55aEB8ab9FbB7
Registering level NaughtCoinFactory.sol in Ethernaut.sol...
Vault: 0x0355B7B8cb128fA5692729Ab3AAa199C1753f726
storing deployed id: 8 with address: 0x0355B7B8cb128fA5692729Ab3AAa199C1753f726
Registering level VaultFactory.sol in Ethernaut.sol...
King: 0x202CCe504e04bEd6fC0521238dDf04Bc9E8E15aB
storing deployed id: 9 with address: 0x202CCe504e04bEd6fC0521238dDf04Bc9E8E15aB
Registering level KingFactory.sol in Ethernaut.sol...
Re-entrancy: 0xf4B146FbA71F41E0592668ffbF264F1D186b2Ca8
storing deployed id: 10 with address: 0xf4B146FbA71F41E0592668ffbF264F1D186b2Ca8
Registering level ReentranceFactory.sol in Ethernaut.sol...
Elevator: 0x172076E0166D1F9Cc711C77Adf8488051744980C
storing deployed id: 11 with address: 0x172076E0166D1F9Cc711C77Adf8488051744980C
Registering level ElevatorFactory.sol in Ethernaut.sol...
Privacy: 0x4EE6eCAD1c2Dae9f525404De8555724e3c35d07B
storing deployed id: 12 with address: 0x4EE6eCAD1c2Dae9f525404De8555724e3c35d07B
Registering level PrivacyFactory.sol in Ethernaut.sol...
Denial: 0xBEc49fA140aCaA83533fB00A2BB19bDdd0290f25
storing deployed id: 20 with address: 0xBEc49fA140aCaA83533fB00A2BB19bDdd0290f25
Registering level DenialFactory.sol in Ethernaut.sol...
Shop: 0xD84379CEae14AA33C123Af12424A37803F885889
storing deployed id: 21 with address: 0xD84379CEae14AA33C123Af12424A37803F885889
Registering level ShopFactory.sol in Ethernaut.sol...
Preservation: 0x2B0d36FACD61B71CC05ab8F3D2355ec3631C0dd5
storing deployed id: 16 with address: 0x2B0d36FACD61B71CC05ab8F3D2355ec3631C0dd5
Registering level PreservationFactory.sol in Ethernaut.sol...
Recovery: 0xfbC22278A96299D91d41C453234d97b4F5Eb9B2d
storing deployed id: 17 with address: 0xfbC22278A96299D91d41C453234d97b4F5Eb9B2d
Registering level RecoveryFactory.sol in Ethernaut.sol...
MagicNumber: 0x46b142DD1E924FAb83eCc3c08e4D46E82f005e0E
storing deployed id: 18 with address: 0x46b142DD1E924FAb83eCc3c08e4D46E82f005e0E
Registering level MagicNumFactory.sol in Ethernaut.sol...
Registered InstanceFactory.sol!
Registered FallbackFactory.sol!
Registered FalloutFactory.sol!
Registered CoinFlipFactory.sol!
Registered TelephoneFactory.sol!
Registered TokenFactory.sol!
Registered DelegationFactory.sol!
Registered ForceFactory.sol!
Dex: 0x1c85638e118b37167e9298c2268758e058DdfDA0
storing deployed id: 22 with address: 0x1c85638e118b37167e9298c2268758e058DdfDA0
Registering level DexFactory.sol in Ethernaut.sol...
Dex Two: 0x367761085BF3C12e5DA2Df99AC6E1a824612b8fb
storing deployed id: 23 with address: 0x367761085BF3C12e5DA2Df99AC6E1a824612b8fb
Registering level DexTwoFactory.sol in Ethernaut.sol...
Puzzle Wallet: 0x4C2F7092C2aE51D986bEFEe378e50BD4dB99C901
storing deployed id: 24 with address: 0x4C2F7092C2aE51D986bEFEe378e50BD4dB99C901
Registering level PuzzleWalletFactory.sol in Ethernaut.sol...
Motorbike: 0x7A9Ec1d04904907De0ED7b6839CcdD59c3716AC9
storing deployed id: 25 with address: 0x7A9Ec1d04904907De0ED7b6839CcdD59c3716AC9
Registering level MotorbikeFactory.sol in Ethernaut.sol...
DoubleEntryPoint: 0x49fd2BE640DB2910c2fAb69bB8531Ab6E76127ff
storing deployed id: 26 with address: 0x49fd2BE640DB2910c2fAb69bB8531Ab6E76127ff
Registering level DoubleEntryPointFactory.sol in Ethernaut.sol...
Alien Codex: 0xC9a43158891282A2B1475592D5719c001986Aaec
storing deployed id: 19 with address: 0xC9a43158891282A2B1475592D5719c001986Aaec
Registering level AlienCodexFactory.sol in Ethernaut.sol...
Registered GatekeeperOneFactory.sol!
Registered GatekeeperTwoFactory.sol!
Good Samaritan: 0x4631BCAbD6dF18D94796344963cB60d44a4136b6
storing deployed id: 27 with address: 0x4631BCAbD6dF18D94796344963cB60d44a4136b6
Registering level GoodSamaritanFactory.sol in Ethernaut.sol...
Registered NaughtCoinFactory.sol!
Registered VaultFactory.sol!
Registered KingFactory.sol!
Registered ReentranceFactory.sol!
Registered ElevatorFactory.sol!
Registered PrivacyFactory.sol!
Registered ShopFactory.sol!
Registered PreservationFactory.sol!
Registered RecoveryFactory.sol!
Registered MagicNumFactory.sol!
Registered DexFactory.sol!
Registered DexTwoFactory.sol!
Registered PuzzleWalletFactory.sol!
Registered MotorbikeFactory.sol!
Registered DoubleEntryPointFactory.sol!
Registered DenialFactory.sol!
Registered AlienCodexFactory.sol!
Registered GoodSamaritanFactory.sol!
Writing updated deploy data: ./client/src/gamedata/deploy.local.json
Done
Done in 7.49s. |
xaler5
approved these changes
Dec 19, 2022
CeliktepeMurat
pushed a commit
to CeliktepeMurat/ethernaut
that referenced
this pull request
Jan 9, 2023
* Changed gas limit to 30000000 | Discussion OpenZeppelin#469 * changed imports to have 'js' on their path | Discussion OpenZeppelin#469
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've changed the gas limit to 30000000 and also change the imports in
ethutil.js
to