From b9219398b24adde08b7e2defe936d8ee4316e75e Mon Sep 17 00:00:00 2001 From: Hussein Ait Lahcen Date: Thu, 9 Jan 2025 11:34:14 +0100 Subject: [PATCH 1/2] fix(evm): verify script --- evm/scripts/Deploy.s.sol | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/evm/scripts/Deploy.s.sol b/evm/scripts/Deploy.s.sol index 4f21689abd..58bbd6e1f1 100644 --- a/evm/scripts/Deploy.s.sol +++ b/evm/scripts/Deploy.s.sol @@ -769,6 +769,21 @@ contract GetDeployed is Script { implStateLensIcs23MptClient ); + string memory implStateLensIcs23Ics23Client = + "implStateLensIcs23Ics23Client"; + implStateLensIcs23Ics23Client.serialize( + "contract", + string( + "contracts/clients/StateLensIcs23Ics23Client.sol:StateLensIcs23Ics23Client" + ) + ); + implStateLensIcs23Ics23Client = + implStateLensIcs23Ics23Client.serialize("args", bytes(hex"")); + impls.serialize( + implOf(stateLensIcs23Ics23Client).toHexString(), + implStateLensIcs23Ics23Client + ); + string memory implUCS00 = "implUCS00"; implUCS00.serialize( "contract", @@ -790,7 +805,7 @@ contract GetDeployed is Script { "contract", string("contracts/apps/ucs/02-nft/NFT.sol:UCS02NFT") ); implUCS02 = implUCS02.serialize("args", bytes(hex"")); - impls = impls.serialize(implOf(ucs02).toHexString(), implUCS02); + impls.serialize(implOf(ucs02).toHexString(), implUCS02); string memory implUCS03 = "implUCS03"; implUCS03.serialize( From 1b8ec0e0e2d1f56bac7e62500f39c9248ba4fb45 Mon Sep 17 00:00:00 2001 From: Hussein Ait Lahcen Date: Thu, 9 Jan 2025 11:34:26 +0100 Subject: [PATCH 2/2] feat(evm): add contracts addresses --- .../src/content/docs/protocol/deployments.mdx | 40 ++++++++++--------- evm/evm.nix | 6 +++ 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/docs/src/content/docs/protocol/deployments.mdx b/docs/src/content/docs/protocol/deployments.mdx index 7396b631cf..0ea41e17af 100644 --- a/docs/src/content/docs/protocol/deployments.mdx +++ b/docs/src/content/docs/protocol/deployments.mdx @@ -13,30 +13,34 @@ Deployments of `ibc-union` on EVM chains. Solidity contract sources can be found | Category | Name | Address | |--------------------|-------------------|---------------------------------------------------------------------------------------------------------------------------------------| -| **core** | IBCHandler | [`0xfa4E502A3bf5f4Bc3EF0e17960b3Cd868d70E809`](https://eth-holesky.blockscout.com/address/0xfa4E502A3bf5f4Bc3EF0e17960b3Cd868d70E809) | -| **light-clients** | CometblsClient | [`0x6431abdc60313ec8780F5CCE1535dFe2DD891081`](https://eth-holesky.blockscout.com/address/0x6431abdc60313ec8780F5CCE1535dFe2DD891081) | -| **apps** | UCS00 | [`0x92735254407859361265B51cDb76583ED7E3359b`](https://eth-holesky.blockscout.com/address/0x92735254407859361265B51cDb76583ED7E3359b) | -| | UCS01 | [`0xdF48f737cc7eE649FC119B312932a9b99C40f417`](https://eth-holesky.blockscout.com/address/0xdF48f737cc7eE649FC119B312932a9b99C40f417) | -| | UCS02 | [`0x8c5BB6EE0C679D605Fda89341148b9921C0d119c`](https://eth-holesky.blockscout.com/address/0x8c5BB6EE0C679D605Fda89341148b9921C0d119c) | -| | UCS03 | [`0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144`](https://eth-holesky.blockscout.com/address/0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144) | -| **support** | Deployer | [`0xa3cd41bfF71AD19fDDfd901A9773C975A0404D97`](https://eth-holesky.blockscout.com/address/0xa3cd41bfF71AD19fDDfd901A9773C975A0404D97) | -| | Sender | [`0x153919669Edc8A5D0c8D1E4507c9CE60435A1177`](https://eth-holesky.blockscout.com/address/0x153919669Edc8A5D0c8D1E4507c9CE60435A1177) | -| | Multicall | [`0x64A764A734648fA636525C7e4b3cE38Ca256b647`](https://eth-holesky.blockscout.com/address/0x64A764A734648fA636525C7e4b3cE38Ca256b647) | +| **core** | IBCHandler | [`0xfa4E502A3bf5f4Bc3EF0e17960b3Cd868d70E809`](https://holesky.etherscan.io/address/0xfa4E502A3bf5f4Bc3EF0e17960b3Cd868d70E809) | +| **light-clients** | CometblsClient | [`0x6431abdc60313ec8780F5CCE1535dFe2DD891081`](https://holesky.etherscan.io/address/0x6431abdc60313ec8780F5CCE1535dFe2DD891081) | +| | StateLensIcs23MptClient | [`0x6aff0075801a7c870f9a6f363dfb0612edd7e9f0`](https://holesky.etherscan.io/address/0x6aff0075801a7c870f9a6f363dfb0612edd7e9f0) | +| | StateLensIcs23Ics23Client | [`0x2b3e80f99d88328c6ce2f9185604eef0046a1462`](https://holesky.etherscan.io/address/0x2b3e80f99d88328c6ce2f9185604eef0046a1462) | +| **apps** | UCS00 | [`0x92735254407859361265B51cDb76583ED7E3359b`](https://holesky.etherscan.io/address/0x92735254407859361265B51cDb76583ED7E3359b) | +| | UCS01 | [`0xdF48f737cc7eE649FC119B312932a9b99C40f417`](https://holesky.etherscan.io/address/0xdF48f737cc7eE649FC119B312932a9b99C40f417) | +| | UCS02 | [`0x8c5BB6EE0C679D605Fda89341148b9921C0d119c`](https://holesky.etherscan.io/address/0x8c5BB6EE0C679D605Fda89341148b9921C0d119c) | +| | UCS03 | [`0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144`](https://holesky.etherscan.io/address/0x7B7872fEc715C787A1BE3f062AdeDc82b3B06144) | +| **support** | Deployer | [`0xa3cd41bfF71AD19fDDfd901A9773C975A0404D97`](https://holesky.etherscan.io/address/0xa3cd41bfF71AD19fDDfd901A9773C975A0404D97) | +| | Sender | [`0x153919669Edc8A5D0c8D1E4507c9CE60435A1177`](https://holesky.etherscan.io/address/0x153919669Edc8A5D0c8D1E4507c9CE60435A1177) | +| | Multicall | [`0x64A764A734648fA636525C7e4b3cE38Ca256b647`](https://holesky.etherscan.io/address/0x64A764A734648fA636525C7e4b3cE38Ca256b647) | ### Ethereum Sepolia (`11155111`) | Category | Name | Address | |--------------------|-------------------|---------------------------------------------------------------------------------------------------------------------------------------| -| **core** | IBCHandler | [`0xbad69711Da45A0FF61e2c50b8c9B1F3314742d2b`](https://eth-sepolia.blockscout.com/address/0xbad69711Da45A0FF61e2c50b8c9B1F3314742d2b) | -| **light-clients** | CometblsClient | [`0x0A343260a06576a1f938C18F70FaA7eF2a3a7d4F`](https://eth-sepolia.blockscout.com/address/0x0A343260a06576a1f938C18F70FaA7eF2a3a7d4F) | -| **apps** | UCS00 | [`0x271126f4F9B36CE16d9e2eF75691485ddCE11dB6`](https://eth-sepolia.blockscout.com/address/0x271126f4F9B36CE16d9e2eF75691485ddCE11dB6) | -| | UCS01 | [`0xCFb741465F8e0AE9C62A548Fa85D312E6E5615Ba`](https://eth-sepolia.blockscout.com/address/0xCFb741465F8e0AE9C62A548Fa85D312E6E5615Ba) | -| | UCS02 | [`0x12650fCccE6dB9E99CEE482490A5fAF248A62B22`](https://eth-sepolia.blockscout.com/address/0x12650fCccE6dB9E99CEE482490A5fAF248A62B22) | -| | UCS03 | [`0x84F074C15513F15baeA0fbEd3ec42F0Bd1fb3efa`](https://eth-sepolia.blockscout.com/address/0x84F074C15513F15baeA0fbEd3ec42F0Bd1fb3efa) | -| **support** | Deployer | [`0xac6dBD360ABCfe0578e998D359d4F43a5A117219`](https://eth-sepolia.blockscout.com/address/0xac6dBD360ABCfe0578e998D359d4F43a5A117219) | -| | Sender | [`0x153919669Edc8A5D0c8D1E4507c9CE60435A1177`](https://eth-sepolia.blockscout.com/address/0x153919669Edc8A5D0c8D1E4507c9CE60435A1177) | -| | Multicall | [`0x6FD4bf9438fAC8C535218E79191594A879E47E96`](https://eth-sepolia.blockscout.com/address/0x6FD4bf9438fAC8C535218E79191594A879E47E96) | +| **core** | IBCHandler | [`0xbad69711Da45A0FF61e2c50b8c9B1F3314742d2b`](https://sepolia.etherscan.io/address/0xbad69711Da45A0FF61e2c50b8c9B1F3314742d2b) | +| **light-clients** | CometblsClient | [`0x0A343260a06576a1f938C18F70FaA7eF2a3a7d4F`](https://sepolia.etherscan.io/address/0x0A343260a06576a1f938C18F70FaA7eF2a3a7d4F) | +| | StateLensIcs23MptClient | [`0x32b498538a44b7ec9cf11b18c18e793d0804db1b`](https://sepolia.etherscan.io/address/0x32b498538a44b7ec9cf11b18c18e793d0804db1b) | +| | StateLensIcs23Ics23Client | [`0x98bba3716dd60969bd43ad7464783771d554fa6a`](https://sepolia.etherscan.io/address/0x98bba3716dd60969bd43ad7464783771d554fa6a) | +| **apps** | UCS00 | [`0x271126f4F9B36CE16d9e2eF75691485ddCE11dB6`](https://sepolia.etherscan.io/address/0x271126f4F9B36CE16d9e2eF75691485ddCE11dB6) | +| | UCS01 | [`0xCFb741465F8e0AE9C62A548Fa85D312E6E5615Ba`](https://sepolia.etherscan.io/address/0xCFb741465F8e0AE9C62A548Fa85D312E6E5615Ba) | +| | UCS02 | [`0x12650fCccE6dB9E99CEE482490A5fAF248A62B22`](https://sepolia.etherscan.io/address/0x12650fCccE6dB9E99CEE482490A5fAF248A62B22) | +| | UCS03 | [`0x84F074C15513F15baeA0fbEd3ec42F0Bd1fb3efa`](https://sepolia.etherscan.io/address/0x84F074C15513F15baeA0fbEd3ec42F0Bd1fb3efa) | +| **support** | Deployer | [`0xac6dBD360ABCfe0578e998D359d4F43a5A117219`](https://sepolia.etherscan.io/address/0xac6dBD360ABCfe0578e998D359d4F43a5A117219) | +| | Sender | [`0x153919669Edc8A5D0c8D1E4507c9CE60435A1177`](https://sepolia.etherscan.io/address/0x153919669Edc8A5D0c8D1E4507c9CE60435A1177) | +| | Multicall | [`0x6FD4bf9438fAC8C535218E79191594A879E47E96`](https://sepolia.etherscan.io/address/0x6FD4bf9438fAC8C535218E79191594A879E47E96) | ## CosmWasm diff --git a/evm/evm.nix b/evm/evm.nix index 152d09d696..7cce6c5bbf 100644 --- a/evm/evm.nix +++ b/evm/evm.nix @@ -701,6 +701,12 @@ _: { value = eth-deploy-single ({ kind = "StateLensIcs23MptClient"; } // args); }) networks ) + // builtins.listToAttrs ( + builtins.map (args: { + name = "eth-deploy-${args.network}-state-lens-ics23-ics23-client"; + value = eth-deploy-single ({ kind = "StateLensIcs23Ics23Client"; } // args); + }) networks + ) // builtins.listToAttrs ( builtins.map (args: { name = "eth-deploy-${args.network}-ucs03";