From 61ae8e1f104af44e4c470829620d4a358c7036da Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Thu, 12 Nov 2020 18:17:02 -0600 Subject: [PATCH] bump version meta; add 0.0.11 branch to actions --- .github/workflows/on-master.yaml | 1 + params/version.go | 8 ++++---- statediff/service.go | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/on-master.yaml b/.github/workflows/on-master.yaml index c230f992f62a..45ac309a9129 100644 --- a/.github/workflows/on-master.yaml +++ b/.github/workflows/on-master.yaml @@ -4,6 +4,7 @@ on: push: branches: - statediff_at_anyblock-1.9.11 + - v1.9.23-statediff-0.0.11 - v1.9.23-statediff-0.0.10 - v1.9.23-statediff-0.0.9 diff --git a/params/version.go b/params/version.go index a30b2dd41e89..12cbe4b1f828 100644 --- a/params/version.go +++ b/params/version.go @@ -21,10 +21,10 @@ import ( ) const ( - VersionMajor = 1 // Major version component of the current release - VersionMinor = 9 // Minor version component of the current release - VersionPatch = 23 // Patch version component of the current release - VersionMeta = "statediff-0.0.10" // Version metadata to append to the version string + VersionMajor = 1 // Major version component of the current release + VersionMinor = 9 // Minor version component of the current release + VersionPatch = 23 // Patch version component of the current release + VersionMeta = "statediff-0.0.11" // Version metadata to append to the version string ) // Version holds the textual version string. diff --git a/statediff/service.go b/statediff/service.go index bab80456dc79..0c2150afd3ab 100644 --- a/statediff/service.go +++ b/statediff/service.go @@ -510,7 +510,6 @@ func (sds *Service) StreamCodeAndCodeHash(blockNumber uint64, outChan chan<- Cod // This operation cannot be performed back past the point of db pruning; it requires an archival node // for historical data func (sds *Service) WriteStateDiffAt(blockNumber uint64, params Params) error { - log.Info("writing state diff", "block height", blockNumber) currentBlock := sds.BlockChain.GetBlockByNumber(blockNumber) parentRoot := common.Hash{} if blockNumber != 0 { @@ -522,6 +521,7 @@ func (sds *Service) WriteStateDiffAt(blockNumber uint64, params Params) error { // Writes a state diff from the current block, parent state root, and provided params func (sds *Service) writeStateDiff(block *types.Block, parentRoot common.Hash, params Params) error { + log.Info("writing state diff", "block height", block.Number().Uint64()) var totalDifficulty *big.Int var receipts types.Receipts if params.IncludeTD {