From 49bc247e731ef813d3a41d6ae0723f47f5ee1ef0 Mon Sep 17 00:00:00 2001 From: Sean Rowan <92984927+sprwn@users.noreply.github.com> Date: Thu, 9 Feb 2023 09:09:45 -0500 Subject: [PATCH] Changed st.evm.Call to st.evm.DaemonCall, adjusted hard fork time to March 1st, and bumped version (#10) --- avalanchego/version/constants.go | 2 +- coreth/core/governance_settings.go | 2 +- coreth/core/state_connector.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avalanchego/version/constants.go b/avalanchego/version/constants.go index ccde307d..42a935cc 100644 --- a/avalanchego/version/constants.go +++ b/avalanchego/version/constants.go @@ -14,7 +14,7 @@ var ( Current = &Semantic{ Major: 1, Minor: 7, - Patch: 1802, + Patch: 1803, } CurrentApp = &Application{ Major: Current.Major, diff --git a/coreth/core/governance_settings.go b/coreth/core/governance_settings.go index 0ccb8ca7..0743ebda 100644 --- a/coreth/core/governance_settings.go +++ b/coreth/core/governance_settings.go @@ -23,7 +23,7 @@ var ( costwoInitialAirdropChangeActivationTime = big.NewInt(time.Date(2022, time.October, 27, 20, 0, 0, 0, time.UTC).Unix()) localFlareInitialAirdropChangeActivationTime = big.NewInt(time.Date(2022, time.January, 1, 0, 0, 0, 0, time.UTC).Unix()) - flareDistributionChangeActivationTime = big.NewInt(time.Date(2023, time.February, 16, 15, 0, 0, 0, time.UTC).Unix()) + flareDistributionChangeActivationTime = big.NewInt(time.Date(2023, time.March, 1, 15, 0, 0, 0, time.UTC).Unix()) costwoDistributionChangeActivationTime = big.NewInt(time.Date(2023, time.January, 26, 15, 0, 0, 0, time.UTC).Unix()) localFlareDistributionChangeActivationTime = big.NewInt(time.Date(2023, time.January, 1, 0, 0, 0, 0, time.UTC).Unix()) ) diff --git a/coreth/core/state_connector.go b/coreth/core/state_connector.go index ca7b694f..06993612 100644 --- a/coreth/core/state_connector.go +++ b/coreth/core/state_connector.go @@ -176,7 +176,7 @@ func GetLocalAttestors() []common.Address { } func (st *StateTransition) GetAttestation(attestor common.Address, instructions []byte) (string, error) { - merkleRootHash, _, err := st.evm.Call(vm.AccountRef(attestor), st.to(), instructions, params.TxGas, big.NewInt(0)) + _, merkleRootHash, _, err := st.evm.DaemonCall(vm.AccountRef(attestor), st.to(), instructions, params.TxGas) return hex.EncodeToString(merkleRootHash), err }