Skip to content

Commit 64b9b11

Browse files
committed
doc updates related to Shanghai changes
1 parent 1982010 commit 64b9b11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/web3.contract.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ Event Log Object
11061106
'blockNumber': 2})]
11071107
>>> transfer_filter.get_new_entries()
11081108
[]
1109-
>>> tx_hash = contract.functions.transfer(alice, 10).transact({'gas': 899000, 'gasPrice': 674302241})
1109+
>>> tx_hash = contract.functions.transfer(alice, 10).transact({'gas': 899000, 'gasPrice': 1000000000})
11101110
>>> tx_receipt = w3.eth.wait_for_transaction_receipt(tx_hash)
11111111
>>> transfer_filter.get_new_entries()
11121112
[AttributeDict({'args': AttributeDict({'from': '0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf',
@@ -1115,7 +1115,7 @@ Event Log Object
11151115
'event': 'Transfer',
11161116
'logIndex': 0,
11171117
'transactionIndex': 0,
1118-
'transactionHash': HexBytes('0xa23e7ef4d2692c5cf34ee99123c9c73099e9c3b68c7850f91c1cbcb91ac327e0'),
1118+
'transactionHash': HexBytes('...'),
11191119
'address': '0xF2E246BB76DF876Cef8b38ae84130F4F55De395b',
11201120
'blockHash': HexBytes('...'),
11211121
'blockNumber': 3})]
@@ -1126,7 +1126,7 @@ Event Log Object
11261126
'event': 'Transfer',
11271127
'logIndex': 0,
11281128
'transactionIndex': 0,
1129-
'transactionHash': HexBytes('0x9da859237e7259832b913d51cb128c8d73d1866056f7a41b52003c953e749678'),
1129+
'transactionHash': HexBytes('...'),
11301130
'address': '0xF2E246BB76DF876Cef8b38ae84130F4F55De395b',
11311131
'blockHash': HexBytes('...'),
11321132
'blockNumber': 2}),
@@ -1136,7 +1136,7 @@ Event Log Object
11361136
'event': 'Transfer',
11371137
'logIndex': 0,
11381138
'transactionIndex': 0,
1139-
'transactionHash': HexBytes('0xa23e7ef4d2692c5cf34ee99123c9c73099e9c3b68c7850f91c1cbcb91ac327e0'),
1139+
'transactionHash': HexBytes('...'),
11401140
'address': '0xF2E246BB76DF876Cef8b38ae84130F4F55De395b',
11411141
'blockHash': HexBytes('...'),
11421142
'blockNumber': 3})]

0 commit comments

Comments
 (0)