From 09f35e8900590f4f8ad93808f52c208d7a962a5e Mon Sep 17 00:00:00 2001 From: skosito Date: Mon, 2 Sep 2024 15:51:10 +0200 Subject: [PATCH] add todo with issue --- precompiles/prototype/prototype.go | 1 + precompiles/staking/staking.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/precompiles/prototype/prototype.go b/precompiles/prototype/prototype.go index 730ee6008c..123885ccb4 100644 --- a/precompiles/prototype/prototype.go +++ b/precompiles/prototype/prototype.go @@ -41,6 +41,7 @@ func initABI() { var methodID [4]byte copy(methodID[:], ABI.Methods[methodName].ID[:4]) switch methodName { + // TODO: https://github.com/zeta-chain/node/issues/2812 case Bech32ToHexAddrMethodName: GasRequiredByMethod[methodID] = 500 case Bech32ifyMethodName: diff --git a/precompiles/staking/staking.go b/precompiles/staking/staking.go index c0e6649ae6..e85a7719e1 100644 --- a/precompiles/staking/staking.go +++ b/precompiles/staking/staking.go @@ -49,7 +49,8 @@ func initABI() { var methodID [4]byte copy(methodID[:], ABI.Methods[methodName].ID[:4]) switch methodName { - // TODO: just temporary flat values, double check these flat values + // TODO: https://github.com/zeta-chain/node/issues/2812 + // just temporary flat values, double check these flat values // can we just use WriteCostFlat/ReadCostFlat from gas config for flat values? case StakeMethodName: GasRequiredByMethod[methodID] = 10000