From eea460fbb25b6ed94cef06789fa3b5e325af75d2 Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:24:21 +0800 Subject: [PATCH] docs: the contract size of OwnableIBCHandler is too large IBC contract (approximately 41k) exceeds Ethereum's hard cap 26k on contract size. --- migrations/1_deploy_contracts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/migrations/1_deploy_contracts.js b/migrations/1_deploy_contracts.js index 2aa8cee..da418c0 100644 --- a/migrations/1_deploy_contracts.js +++ b/migrations/1_deploy_contracts.js @@ -26,6 +26,8 @@ module.exports = async function (deployer, network) { let IBCHandler = undefined; if (network == "axon") { + // The contract size of OwnableIBCHandler is too large to deploy on a normal EVM chain. + // see https://github.com/synapseweb3/ibc-solidity-contract/issues/9 IBCHandler = artifacts.require("OwnableIBCHandler"); } else {