Skip to content

Commit

Permalink
bump version meta; add 0.0.11 branch to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
i-norden committed Nov 13, 2020
1 parent 0a97e30 commit 61ae8e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/on-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion statediff/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 61ae8e1

Please sign in to comment.