fix(rollup): fix error message and compile error (#416)

fix(rollup): fix compile error
This commit is contained in:
HAOYUatHZ 2023-08-01 18:30:06 +08:00 committed by GitHub
parent 2f9edf73ca
commit 22fec5714e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ import (
const (
VersionMajor = 4 // Major version component of the current release
VersionMinor = 3 // Minor version component of the current release
VersionPatch = 1 // Patch version component of the current release
VersionPatch = 2 // Patch version component of the current release
VersionMeta = "sepolia" // Version metadata to append to the version string
)

View file

@ -87,8 +87,8 @@ func (ccc *CircuitCapacityChecker) ApplyTransaction(traces *types.BlockTrace) (*
if result.TxRowUsage == nil || result.AccRowUsage == nil {
log.Error("fail to apply_tx in CircuitCapacityChecker",
"id", ccc.ID, "TxHash", traces.Transactions[0].TxHash,
"len(result.TxRowUsage)", len(result.TxRowUsage),
"len(result.AccRowUsage)", len(result.AccRowUsage),
"result.TxRowUsage==nil", result.TxRowUsage == nil,
"result.AccRowUsage == nil", result.AccRowUsage == nil,
"err", "TxRowUsage or AccRowUsage is empty unexpectedly")
return nil, ErrUnknown
}