mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
75db06fa1d
Thanks @bretep for the original integration.
14 lines
408 B
Go
14 lines
408 B
Go
// Package pulse implements the PulseChain fork.
|
|
package pulse
|
|
|
|
import (
|
|
"github.com/ledgerwatch/erigon-lib/chain"
|
|
"github.com/ledgerwatch/erigon/core/state"
|
|
)
|
|
|
|
// PrimordialPulseFork applies the PrimordialPulse fork changes.
|
|
func PrimordialPulseFork(state *state.IntraBlockState, pulseChainConfig *chain.PulseChainConfig) {
|
|
applySacrificeCredits(state, pulseChainConfig)
|
|
replaceDepositContract(state)
|
|
}
|