Skip to content

Commit

Permalink
Resurrecting cleanup of Almanac & AName contracts state
Browse files Browse the repository at this point in the history
  • Loading branch information
pbukva committed Oct 18, 2024
1 parent a90e7a7 commit 52af580
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/upgrade_0_11_4_reconciliation.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,8 @@ func (app *App) DeleteContractStates(ctx types.Context, networkInfo *NetworkConf

contractsToWipe = networkInfo.Contracts.Reconciliation.GetContracts(contractsToWipe)

// NOTE(jv): Commented out intentionally
//contractsToWipe = networkInfo.Contracts.Almanac.GetContracts(contractsToWipe)
//contractsToWipe = networkInfo.Contracts.AName.GetContracts(contractsToWipe)
contractsToWipe = networkInfo.Contracts.Almanac.GetContracts(contractsToWipe)
contractsToWipe = networkInfo.Contracts.AName.GetContracts(contractsToWipe)

for _, contract := range contractsToWipe {
err := app.DeleteContractState(ctx, contract, manifest)
Expand Down

0 comments on commit 52af580

Please sign in to comment.