fjl on master
les: remove useless protocol de… (compare)
holiman on master
eth/protocols/eth: fix slice re… (compare)
Hello, would someone have a solution for this problem ?
https://ethereum.stackexchange.com/questions/88167/pending-transactions-logs-issue
eth_call
but will return the full execution result (and maybe some other things) rather than just the rlp encoded return variable
func (s *PublicBlockChainAPI) GetPendingLogs(ctx context.Context) ([]*types.Log, error) {
state, _, err := s.b.StateAndHeaderByNumberOrHash(ctx, rpc.PendingBlockNumber)
if state == nil || err != nil {
return nil, err
}
return state.Logs(), state.Error()
}