diff options
author | Jhih-Ming Huang <jm@byzantine-lab.io> | 2019-10-17 20:27:46 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm@byzantine-lab.io> | 2019-10-17 20:31:50 +0800 |
commit | a682bf2856b23893c86a00a9f83814312c246b4a (patch) | |
tree | 366e26f07d11c0dc7f5dca375cc16c213045a531 | |
parent | 5d4fe10fdb7c8095bd65bc86faa748f32c84a67c (diff) | |
download | go-tangerine-a682bf2856b23893c86a00a9f83814312c246b4a.tar.gz go-tangerine-a682bf2856b23893c86a00a9f83814312c246b4a.tar.zst go-tangerine-a682bf2856b23893c86a00a9f83814312c246b4a.zip |
add log for vm.config
-rw-r--r-- | core/state_processor.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/state_processor.go b/core/state_processor.go index 9edb6982c..c211d7a71 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -17,6 +17,8 @@ package core import ( + "fmt" + "github.com/tangerine-network/go-tangerine/common" "github.com/tangerine-network/go-tangerine/consensus" "github.com/tangerine-network/go-tangerine/consensus/misc" @@ -86,6 +88,7 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg // for the transaction, gas used and an error if the transaction failed, // indicating the block was invalid. func ApplyTransaction(config *params.ChainConfig, bc ChainContext, author *common.Address, gp *GasPool, statedb *state.StateDB, header *types.Header, tx *types.Transaction, usedGas *uint64, cfg vm.Config) (*types.Receipt, uint64, error) { + fmt.Println("============= cfg", cfg) msg, err := tx.AsMessage(types.MakeSigner(config, header.Number)) if err != nil { return nil, 0, err |