Skip to content

Commit

Permalink
add todo with issue
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Sep 2, 2024
1 parent f991479 commit 09f35e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions precompiles/prototype/prototype.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion precompiles/staking/staking.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09f35e8

Please sign in to comment.