Skip to content

Commit

Permalink
refactor: disable precompile for v23 (#3198)
Browse files Browse the repository at this point in the history
* disable precompile

* disable tests
  • Loading branch information
lumtis authored Nov 22, 2024
1 parent 162753f commit bb4b7ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cmd/zetae2e/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ func localE2ETest(cmd *cobra.Command, _ []string) {
// e2etests.TestPrecompilesBankName,
// e2etests.TestPrecompilesBankFailName,
// e2etests.TestPrecompilesBankThroughContractName,
e2etests.TestPrecompilesDistributeName,
e2etests.TestPrecompilesDistributeNonZRC20Name,
e2etests.TestPrecompilesDistributeThroughContractName,
//e2etests.TestPrecompilesDistributeName,
//e2etests.TestPrecompilesDistributeNonZRC20Name,
//e2etests.TestPrecompilesDistributeThroughContractName,
}
}

Expand Down
6 changes: 3 additions & 3 deletions precompiles/precompiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
// This is useful for listing and reading from other packages, such as BlockedAddrs() function.
// Setting to false a contract here will disable it, not being included in the blockchain.
var EnabledStatefulContracts = map[common.Address]bool{
prototype.ContractAddress: true,
staking.ContractAddress: true,
bank.ContractAddress: true,
prototype.ContractAddress: false,
staking.ContractAddress: false,
bank.ContractAddress: false,
}

// StatefulContracts returns all the registered precompiled contracts.
Expand Down

0 comments on commit bb4b7ee

Please sign in to comment.