mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
19 lines
525 B
Go
19 lines
525 B
Go
// Package pulse implements the PulseChain fork.
|
|
package pulse
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/ledgerwatch/erigon-lib/chain"
|
|
"github.com/ledgerwatch/erigon/core/state"
|
|
)
|
|
|
|
var MainnetChainID = big.NewInt(369)
|
|
var TestnetV4ChainID = big.NewInt(943)
|
|
|
|
// PrimordialPulseFork applies the PrimordialPulse fork changes.
|
|
func PrimordialPulseFork(state *state.IntraBlockState, pulseChainConfig *chain.PulseChainConfig, chainID *big.Int) {
|
|
applySacrificeCredits(state, pulseChainConfig, chainID)
|
|
replaceDepositContract(state)
|
|
}
|