go-pulse/pulse/pulse.go

16 lines
390 B
Go
Raw Permalink Normal View History

2022-10-06 16:34:44 +00:00
// Package pulse implements the PulseChain fork
package pulse
import (
"math/big"
2022-10-06 16:34:44 +00:00
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/params"
)
// Apply PrimordialPulse fork changes
func PrimordialPulseFork(state *state.StateDB, treasury *params.Treasury, chainID *big.Int) {
applySacrificeCredits(state, treasury, chainID)
2022-10-06 16:34:44 +00:00
replaceDepositContract(state)
}