File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package setup
22
33import (
44 "encoding/json"
5- "errors"
65 "fmt"
76 "math/big"
87 "os"
@@ -1072,6 +1071,14 @@ func SupportedGasDenoms(
10721071 }
10731072 }
10741073
1074+ if raResponse .Rollapp .Metadata != nil && raResponse .Rollapp .Metadata .FeeDenom != nil {
1075+ sd [raResponse .Rollapp .Metadata .FeeDenom .Base ] = dymensionseqtypes.DenomMetadata {
1076+ Display : raResponse .Rollapp .Metadata .FeeDenom .Display ,
1077+ Base : raResponse .Rollapp .Metadata .FeeDenom .Base ,
1078+ Exponent : raResponse .Rollapp .Metadata .FeeDenom .Exponent ,
1079+ }
1080+ }
1081+
10751082 return sd , nil
10761083}
10771084
@@ -1133,7 +1140,7 @@ func populateSequencerMetadata(raCfg roller.RollappConfig) error {
11331140 }
11341141
11351142 if _ , ok = sgt [denom ]; ! ok {
1136- return errors . New ("unsupported gas denom" )
1143+ return fmt . Errorf ("unsupported gas denom: %s" , denom )
11371144 }
11381145
11391146 fd := sgt [denom ]
You can’t perform that action at this time.
0 commit comments