Implement CalcFeeAmount, Resolve #140

This commit is contained in:
Eduard S
2020-10-20 15:25:36 +02:00
parent 44c70dfbcb
commit 54562c0367
3 changed files with 307 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ func (s *StateDB) ProcessTxs(l1usertxs, l1coordinatortxs []common.L1Tx, l2txs []
}
defer func() {
if err := os.RemoveAll(tmpDir); err != nil {
log.Errorw("Dleting statedb temp exit tree", "err", err)
log.Errorw("Deleting statedb temp exit tree", "err", err)
}
}()
sto, err := pebble.NewPebbleStorage(tmpDir, false)