Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: remove unused PrecompiledContractsCel2 #330

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,11 @@ var PrecompiledContractsIsthmus = map[common.Address]PrecompiledContract{
common.BytesToAddress([]byte{0x01, 0x00}): &p256Verify{},
}

// PrecompiledContractsCel2 contains the default set of pre-compiled Ethereum
// contracts used in the Cel2 release which don't require the extra
// celoPrecompileContext, while PrecompiledCeloContractsCel2 contains those
// that do.
var PrecompiledContractsCel2 = PrecompiledContractsGranite

// PrecompiledCeloContractsCel2 contains a set of pre-compiled contracts used
// in the Cel2 release which require the extra celoPrecompileContext.
// The Cel2 hardfork is handled differently because it can be combined with
// multiple Ethereum/Optimism hardforks and therefore does not fit into the
// linear history of normal hardforks.
var PrecompiledCeloContractsCel2 = map[common.Address]CeloPrecompiledContract{
celoPrecompileAddress(2): &transfer{},
}
Expand Down
Loading