Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Feb 28, 2024
1 parent 97937b8 commit 0e74444
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ func NewAxelarApp(

app.SetAnteHandler(initAnteHandlers(encodingConfig, keys, keepers, appOpts))

// Register snapshot extensions
// Register wasm snapshot extension for state-sync compatibility
// MUST be done before loading the version
app.registerSnapshotExtensions(keepers)
app.registerWasmSnapshotExtension(keepers)

if loadLatest {
if err := app.LoadLatestVersion(); err != nil {
Expand Down Expand Up @@ -451,7 +451,7 @@ func initMessageRouter(keepers *KeeperCache) nexusTypes.MessageRouter {
return messageRouter
}

func (app *AxelarApp) registerSnapshotExtensions(keepers *KeeperCache) {
func (app *AxelarApp) registerWasmSnapshotExtension(keepers *KeeperCache) {
// Register wasm snapshot extension to enable state-sync compatibility for wasm.
// MUST be done before loading the version
// Requires the snapshot store to be created and registered as a BaseAppOption
Expand Down

0 comments on commit 0e74444

Please sign in to comment.