Skip to content

Commit

Permalink
fix(evm): contracts are not splitted anymore, the abi can be extracte… (
Browse files Browse the repository at this point in the history
#3373)

…d from the handler directly
  • Loading branch information
hussein-aitlahcen authored Dec 13, 2024
2 parents d8015ec + 1c13e4b commit 66b0316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 3 additions & 5 deletions evm/contracts/core/24-host/IBCStore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ abstract contract IBCStore {
mapping(uint32 => address) public channelOwner;

// Sequences for identifier
bytes32 public constant nextClientSequencePath =
keccak256("nextClientSequence");
bytes32 public constant nextConnectionSequencePath =
bytes32 constant nextClientSequencePath = keccak256("nextClientSequence");
bytes32 constant nextConnectionSequencePath =
keccak256("nextConnectionSequence");
bytes32 public constant nextChannelSequencePath =
keccak256("nextChannelSequence");
bytes32 constant nextChannelSequencePath = keccak256("nextChannelSequence");

function getClient(
uint32 clientId
Expand Down
6 changes: 1 addition & 5 deletions evm/evm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,7 @@ _: {
cd $out
jq --compact-output --slurp 'map(.abi) | add' \
${contracts}/out/IBCClient.sol/IBCClient.json \
${contracts}/out/IBCPacket.sol/IBCPacket.json \
${contracts}/out/IBCConnection.sol/IBCConnection.json \
${contracts}/out/OwnableIBCHandler.sol/OwnableIBCHandler.json \
${contracts}/out/IBCChannel.sol/IBCChannelHandshake.json > ibc-handler.json
${contracts}/out/OwnableIBCHandler.sol/OwnableIBCHandler.json > ibc-handler.json
jq --compact-output --slurp 'map(.abi) | add' \
${contracts}/out/Relay.sol/IRelay.json \
Expand Down

0 comments on commit 66b0316

Please sign in to comment.