(ctx context.Context, msg core.Message, state *state.StateDB, header *types.Header, vmCfg vm.Config)
| 145 | } |
| 146 | |
| 147 | func (b *APIBackend) GetEVM(ctx context.Context, msg core.Message, state *state.StateDB, header *types.Header, vmCfg vm.Config) (*vm.EVM, func() error, error) { |
| 148 | state.SetBalance(msg.From(), math.MaxBig256) |
| 149 | vmError := func() error { return nil } |
| 150 | |
| 151 | context := core.NewEVMContext(msg, header, b.cpc.BlockChain(), nil) |
| 152 | return vm.NewEVM(context, state, b.cpc.chainConfig, vmCfg), vmError, nil |
| 153 | } |
| 154 | |
| 155 | func (b *APIBackend) SubscribeRemovedLogsEvent(ch chan<- core.RemovedLogsEvent) event.Subscription { |
| 156 | return b.cpc.BlockChain().SubscribeRemovedLogsEvent(ch) |
nothing calls this directly
no test coverage detected