core, core/state, core/vm: remove exported account getters (#3618)
Removed exported statedb object accessors, reducing the chance for nasty bugs to creep in. It's also ugly and unnecessary to have these methods.
Showing
- cmd/evm/main.go 11 additions, 7 deletionscmd/evm/main.go
- core/blockchain.go 0 additions, 1 deletioncore/blockchain.go
- core/dao.go 5 additions, 5 deletionscore/dao.go
- core/state/journal.go 6 additions, 6 deletionscore/state/journal.go
- core/state/managed_state.go 3 additions, 3 deletionscore/state/managed_state.go
- core/state/managed_state_test.go 1 addition, 1 deletioncore/state/managed_state_test.go
- core/state/state_object.go 34 additions, 50 deletionscore/state/state_object.go
- core/state/state_test.go 6 additions, 6 deletionscore/state/state_test.go
- core/state/statedb.go 46 additions, 31 deletionscore/state/statedb.go
- core/state/statedb_test.go 3 additions, 4 deletionscore/state/statedb_test.go
- core/state_transition.go 20 additions, 15 deletionscore/state_transition.go
- core/vm/contract.go 18 additions, 11 deletionscore/vm/contract.go
- core/vm/evm.go 8 additions, 10 deletionscore/vm/evm.go
- core/vm/interface.go 2 additions, 15 deletionscore/vm/interface.go
- core/vm/logger.go 2 additions, 1 deletioncore/vm/logger.go
- core/vm/logger_test.go 0 additions, 4 deletionscore/vm/logger_test.go
- core/vm/noop.go 23 additions, 23 deletionscore/vm/noop.go
- core/vm/runtime/runtime.go 7 additions, 7 deletionscore/vm/runtime/runtime.go
- light/state.go 20 additions, 0 deletionslight/state.go
- light/vm_env.go 11 additions, 20 deletionslight/vm_env.go
Loading
Please register or sign in to comment