Skip to content

Commit

Permalink
SimulateTx (bnb-chain#14)
Browse files Browse the repository at this point in the history
* Sim Tx RPC

* Log

* Sim

* 1

* 1

* SimTx

* Toml

MainArb修复

Sim添加错误缓存 && TxCal Simulate打印

解决服务器太多上传Tx不能打印问题

新增热更新SimulateTx列表 && SimTx 上报

SimulateTx (bnb-chain#14)

* Sim Tx RPC

* Log

* Sim

* 1

* 1

* SimTx

* Toml

MainArb修复

Sim添加错误缓存 && TxCal Simulate打印

解决服务器太多上传Tx不能打印问题

新增热更新SimulateTx列表 && SimTx 上报

db

Service tx DB添加字段

Simulate Tx
  • Loading branch information
swlfigo committed Apr 26, 2023
1 parent 7916360 commit 4dca6c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/arb
Submodule arb updated from e4d15b to ce3179
4 changes: 3 additions & 1 deletion cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,9 @@ func geth(ctx *cli.Context) error {
Simulate.GetSimulatorManagerInstance().ConfigEthereumEnv(backend, ethereumServer)
startNode(ctx, stack, backend, false)
//sylarChange
go RPCServer.GetArbRPCServerManagerInstance().StartRPCServer()
RPCS := RPCServer.GetArbRPCServerManagerInstance()
go RPCS.StartRPCServer()
log.Info("Start RPC Server Success 🍻🍻🍻")
stack.Wait()
return nil
}
Expand Down
3 changes: 2 additions & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package core
import (
"errors"
"fmt"
"github.com/ethereum/go-ethereum/cmd/arb/Block"
"io"
"math/big"
"sort"
Expand Down Expand Up @@ -1988,7 +1989,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals, setHead bool)
"root", block.Root())

lastCanon = block

Block.GetBlockManagerInstance().ConfigBlockNumber(block.NumberU64()) //sylarchange 保存当前DB中最新的BlockNum
// Only count canonical blocks for GC processing time
bc.gcproc += proctime

Expand Down

0 comments on commit 4dca6c6

Please sign in to comment.