Compare commits
4 Commits
v1.4.0-alp
...
v1.4.1-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1487e46f30 | ||
|
|
31ace32e9e | ||
|
|
a18ed24b9d | ||
|
|
38d592dfdd |
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,4 +1,15 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
## v1.4.1
|
||||||
|
FEATURE
|
||||||
|
NA
|
||||||
|
|
||||||
|
BUGFIX
|
||||||
|
* [\#2258](https://github.com/bnb-chain/bsc/pull/2258) core: skip checking state root existence when do snapsync by fast node
|
||||||
|
* [\#2252](https://github.com/bnb-chain/bsc/pull/2252) fix: add missing args of `bls account generate-proof` cmd (#2252)
|
||||||
|
|
||||||
|
IMPROVEMENT
|
||||||
|
NA
|
||||||
|
|
||||||
## v1.4.0
|
## v1.4.0
|
||||||
#### RPC
|
#### RPC
|
||||||
[internal/ethapi: implement eth_getBlockReceipts (#27702)](https://github.com/bnb-chain/bsc/commit/f1801a9feda8f81532c92077d2c9a8b785fd699b)
|
[internal/ethapi: implement eth_getBlockReceipts (#27702)](https://github.com/bnb-chain/bsc/commit/f1801a9feda8f81532c92077d2c9a8b785fd699b)
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ Delete the selected BLS account from the BLS wallet.`,
|
|||||||
Name: "generate-proof",
|
Name: "generate-proof",
|
||||||
Usage: "Generate ownership proof for the selected BLS account from the BLS wallet",
|
Usage: "Generate ownership proof for the selected BLS account from the BLS wallet",
|
||||||
Action: blsAccountGenerateProof,
|
Action: blsAccountGenerateProof,
|
||||||
ArgsUsage: "<BLS pubkey>",
|
ArgsUsage: "<operator address> <BLS pubkey>",
|
||||||
Category: "BLS ACCOUNT COMMANDS",
|
Category: "BLS ACCOUNT COMMANDS",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
utils.DataDirFlag,
|
utils.DataDirFlag,
|
||||||
|
|||||||
@@ -406,7 +406,7 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis
|
|||||||
// Make sure the state associated with the block is available, or log out
|
// Make sure the state associated with the block is available, or log out
|
||||||
// if there is no available state, waiting for state sync.
|
// if there is no available state, waiting for state sync.
|
||||||
head := bc.CurrentBlock()
|
head := bc.CurrentBlock()
|
||||||
if !bc.HasState(head.Root) {
|
if !bc.NoTries() && !bc.HasState(head.Root) {
|
||||||
if head.Number.Uint64() == 0 {
|
if head.Number.Uint64() == 0 {
|
||||||
// The genesis state is missing, which is only possible in the path-based
|
// The genesis state is missing, which is only possible in the path-based
|
||||||
// scheme. This situation occurs when the initial state sync is not finished
|
// scheme. This situation occurs when the initial state sync is not finished
|
||||||
@@ -1011,7 +1011,7 @@ func (bc *BlockChain) SnapSyncCommitHead(hash common.Hash) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !bc.HasState(root) {
|
if !bc.NoTries() && !bc.HasState(root) {
|
||||||
return fmt.Errorf("non existent state [%x..]", root[:4])
|
return fmt.Errorf("non existent state [%x..]", root[:4])
|
||||||
}
|
}
|
||||||
// If all checks out, manually set the head block.
|
// If all checks out, manually set the head block.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
VersionMajor = 1 // Major version component of the current release
|
VersionMajor = 1 // Major version component of the current release
|
||||||
VersionMinor = 4 // Minor version component of the current release
|
VersionMinor = 4 // Minor version component of the current release
|
||||||
VersionPatch = 0 // Patch version component of the current release
|
VersionPatch = 1 // Patch version component of the current release
|
||||||
VersionMeta = "" // Version metadata to append to the version string
|
VersionMeta = "" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user