Skip to content

Commit

Permalink
core/vm: disable proof of possesion precompiled contract
Browse files Browse the repository at this point in the history
Some tests use address 106 for testing. However, because it is a precompiled
contract in Ronin, the tests will fail. Temporarily disable this precompiled
contract in the test branch.
  • Loading branch information
minh-bq committed Aug 20, 2024
1 parent 47603a5 commit 27112ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func init() {
PrecompiledContractsConsortium[common.BytesToAddress([]byte{105})] = &consortiumValidateFinalityProof{}

PrecompiledContractsConsortiumMiko = copyPrecompiledContract(PrecompiledContractsConsortium)
PrecompiledContractsConsortiumMiko[common.BytesToAddress([]byte{106})] = &consortiumValidateProofOfPossession{}
// PrecompiledContractsConsortiumMiko[common.BytesToAddress([]byte{106})] = &consortiumValidateProofOfPossession{}

PrecompiledContractsBerlin = copyPrecompiledContract(PrecompiledContractsConsortiumMiko)
PrecompiledContractsBerlin[common.BytesToAddress([]byte{5})] = &bigModExp{eip2565: true}
Expand Down

0 comments on commit 27112ea

Please sign in to comment.