mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
16 lines
390 B
Go
16 lines
390 B
Go
// Package pulse implements the PulseChain fork
|
|
package pulse
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"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)
|
|
replaceDepositContract(state)
|
|
}
|