Skip to content

Commit

Permalink
Remove CIP20 precompile (gingerbread)
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonponti committed Aug 11, 2023
1 parent 0909e24 commit 2dc38bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 309 deletions.
2 changes: 1 addition & 1 deletion core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ var PrecompiledContractsGingerbreadP2 = map[common.Address]CeloPrecompiledContra

// New in Donut hard fork
celoPrecompileAddress(12): &ed25519Verify{},
celoPrecompileAddress(29): &wrap{&cip20HashFunctions{Cip20HashesDonut}},
celoPrecompileAddress(30): &getValidatorBLS{},

// Precompiles removed in Gingerbread P2 hard fork
Expand All @@ -242,6 +241,7 @@ var PrecompiledContractsGingerbreadP2 = map[common.Address]CeloPrecompiledContra
// * bls12377G2Mul
// * bls12377G2MultiExp
// * bls12377Pairing
// * cip20HashFunctions
}

var (
Expand Down
Loading

0 comments on commit 2dc38bf

Please sign in to comment.