mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
fix(ccc): revert light mode (#524)
* Revert "feat: use light_mode = false for block ccc (#519)"
This reverts commit a51434da5a.
* bump version
This commit is contained in:
parent
a51434da5a
commit
abcf48f20c
2 changed files with 4 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ import (
|
|||
const (
|
||||
VersionMajor = 4 // Major version component of the current release
|
||||
VersionMinor = 4 // Minor version component of the current release
|
||||
VersionPatch = 12 // Patch version component of the current release
|
||||
VersionPatch = 13 // Patch version component of the current release
|
||||
VersionMeta = "sepolia" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ pub mod checker {
|
|||
let traces = serde_json::from_slice::<BlockTrace>(&block_trace)?;
|
||||
|
||||
let r = panic::catch_unwind(|| {
|
||||
let ccc_instance = CHECKERS
|
||||
CHECKERS
|
||||
.get_mut()
|
||||
.ok_or(anyhow!(
|
||||
"fail to get circuit capacity checkers map in apply_block"
|
||||
|
|
@ -168,9 +168,8 @@ pub mod checker {
|
|||
.get_mut(&id)
|
||||
.ok_or(anyhow!(
|
||||
"fail to get circuit capacity checker (id: {id:?}) in apply_block"
|
||||
))?;
|
||||
ccc_instance.light_mode = false;
|
||||
ccc_instance.estimate_circuit_capacity(&[traces])
|
||||
))?
|
||||
.estimate_circuit_capacity(&[traces])
|
||||
});
|
||||
match r {
|
||||
Ok(result) => result,
|
||||
|
|
|
|||
Loading…
Reference in a new issue