Commit b396144 1 parent 5f83154 commit b396144 Copy full SHA for b396144
File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -827,6 +827,11 @@ Methods
827
827
# You can check the state after your pending transactions (if supported by your node):
828
828
>> > token_contract.functions.myBalance().call(block_identifier = ' pending' )
829
829
830
+ Passing the ``block_identifier `` parameter for past block numbers requires that your Ethereum API node
831
+ is running in the more expensive archive node mode. Normally synced Ethereum nodes will fail with
832
+ a "missing trie node" error, because Ethereum node may have purged the past state from its database.
833
+ `More information about archival nodes here <https://ethereum.stackexchange.com/a/84200/620 >`_.
834
+
830
835
.. py :method :: ContractFunction.estimateGas(transaction, block_identifier = None )
831
836
832
837
Call a contract function, executing the transaction locally using the
Original file line number Diff line number Diff line change
1
+ Clarify that a missing trie node error could occur when using ``block_identifier `` with ``.call() ``
2
+ on a node that isn't running in archive mode
You can’t perform that action at this time.
0 commit comments