Skip to content

Commit

Permalink
Disable fast nodes and update iavl to address bugs (#1173) (#1174)
Browse files Browse the repository at this point in the history
(cherry picked from commit 415c118)

Co-authored-by: roy-dydx <133032749+roy-dydx@users.noreply.github.com>
  • Loading branch information
mergify[bot] and roy-dydx committed Mar 14, 2024
1 parent 5d118b1 commit c57db2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions protocol/cmd/dydxprotocold/cmd/root.go
Expand Up @@ -387,6 +387,7 @@ func newApp(
baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))),
baseapp.SetSnapshot(snapshotStore, snapshotOptions),
baseapp.SetIAVLCacheSize(int(cast.ToUint64(appOpts.Get(flagIAVLCacheSize)))),
baseapp.SetIAVLDisableFastNode(true),
baseapp.SetChainID(chainID),
)
}
Expand Down
2 changes: 1 addition & 1 deletion protocol/go.mod
Expand Up @@ -52,7 +52,7 @@ require (
cosmossdk.io/x/upgrade v0.1.0
github.com/burdiyan/kafkautil v0.0.0-20190131162249-eaf83ed22d5b
github.com/cosmos/cosmos-db v1.0.0
github.com/cosmos/iavl v1.0.1
github.com/cosmos/iavl v1.1.1-0.20240313174921-bfaf5fcda7b3
github.com/cosmos/ibc-go/modules/capability v1.0.0
github.com/cosmos/ibc-go/v8 v8.0.0
github.com/cosmos/rosetta v0.50.3
Expand Down
4 changes: 2 additions & 2 deletions protocol/go.sum
Expand Up @@ -449,8 +449,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ
github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU=
github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g=
github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y=
github.com/cosmos/iavl v1.0.1 h1:D+mYbcRO2wptYzOM1Hxl9cpmmHU1ZEt9T2Wv5nZTeUw=
github.com/cosmos/iavl v1.0.1/go.mod h1:8xIUkgVvwvVrBu81scdPty+/Dx9GqwHnAvXz4cwF7RY=
github.com/cosmos/iavl v1.1.1-0.20240313174921-bfaf5fcda7b3 h1:1b7Bd9y4YC0SFFB9PQ4A9TVdc1vdlSLdSv2m+3mjS1Y=
github.com/cosmos/iavl v1.1.1-0.20240313174921-bfaf5fcda7b3/go.mod h1:8xIUkgVvwvVrBu81scdPty+/Dx9GqwHnAvXz4cwF7RY=
github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE=
github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco=
github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg=
Expand Down

0 comments on commit c57db2c

Please sign in to comment.