From b8b99b67aa007a366157acf1c8d2e0b6af8ce19f Mon Sep 17 00:00:00 2001 From: Stuart Reed Date: Wed, 5 Jul 2023 14:49:32 -0600 Subject: [PATCH] Revert non-ens docs --- docs/ethpm.rst | 6 +++--- docs/web3.contract.rst | 2 +- docs/web3.eth.rst | 20 ++++++++++---------- docs/web3.geth.rst | 10 +++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/ethpm.rst b/docs/ethpm.rst index fb23d56582..fe29503396 100644 --- a/docs/ethpm.rst +++ b/docs/ethpm.rst @@ -259,7 +259,7 @@ Examples... - ``ethpm://packages.zeppelinos.eth/owned@1.0.0`` -- ``ethpm://0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7:1/ethregistrar@1.0.0`` +- ``ethpm://0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD:1/ethregistrar@1.0.0`` To specify a specific asset within a package, you can namespace the target asset. @@ -796,7 +796,7 @@ This is the simplest builder function for adding a deployment to a manifest. All ... 'blockchain://1234567890123456789012345678901234567890123456789012345678901234/block/1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef': { ... 'Owned': { ... 'contractType': 'Owned', - ... 'address': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + ... 'address': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', ... } ... } ... } @@ -807,7 +807,7 @@ This is the simplest builder function for adding a deployment to a manifest. All ... block_uri='blockchain://1234567890123456789012345678901234567890123456789012345678901234/block/1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', ... contract_instance='Owned', ... contract_type='Owned', - ... address='0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + ... address='0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', ... ), ... ) >>> assert expected_manifest == built_manifest diff --git a/docs/web3.contract.rst b/docs/web3.contract.rst index e8425c268a..9b913890e7 100644 --- a/docs/web3.contract.rst +++ b/docs/web3.contract.rst @@ -900,7 +900,7 @@ Methods >>> math_contract.functions.increment(5).build_transaction({'maxFeePerGas': 2000000000, 'maxPriorityFeePerGas': 1000000000}) { - 'to': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + 'to': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'data': '0x7cf5dab00000000000000000000000000000000000000000000000000000000000000005', 'value': 0, 'gas': 43242, diff --git a/docs/web3.eth.rst b/docs/web3.eth.rst index 84979f2326..c3863f3f38 100644 --- a/docs/web3.eth.rst +++ b/docs/web3.eth.rst @@ -153,7 +153,7 @@ The following properties are available on the ``web3.eth`` namespace. .. code-block:: python >>> web3.eth.accounts - ['0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7'] + ['0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD'] .. py:attribute:: Eth.block_number @@ -736,7 +736,7 @@ The following methods are available on the ``web3.eth`` namespace. # simple example (web3.py and / or client determines gas and fees, typically defaults to a dynamic fee transaction post London fork) >>> web3.eth.send_transaction({ - 'to': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + 'to': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'from': web3.eth.coinbase, 'value': 12345 }) @@ -744,7 +744,7 @@ The following methods are available on the ``web3.eth`` namespace. # Dynamic fee transaction, introduced by EIP-1559: HexBytes('0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331') >>> web3.eth.send_transaction({ - 'to': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + 'to': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'from': web3.eth.coinbase, 'value': 12345, 'gas': 21000, @@ -756,7 +756,7 @@ The following methods are available on the ``web3.eth`` namespace. # Legacy transaction (less efficient) HexBytes('0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331') >>> web3.eth.send_transaction({ - 'to': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + 'to': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'from': web3.eth.coinbase, 'value': 12345, 'gas': 21000, @@ -800,7 +800,7 @@ The following methods are available on the ``web3.eth`` namespace. maxFeePerGas=3000000000, maxPriorityFeePerGas=2000000000, gas=100000, - to='0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + to='0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', value=12345, data=b'', type=2, # (optional) the type is now implicitly set based on appropriate transaction params @@ -855,13 +855,13 @@ The following methods are available on the ``web3.eth`` namespace. .. code-block:: python >>> tx = web3.eth.send_transaction({ - 'to': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + 'to': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'from': web3.eth.coinbase, 'value': 1000 }) HexBytes('0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331') >>> web3.eth.replace_transaction('0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331', { - 'to': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + 'to': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'from': web3.eth.coinbase, 'value': 2000 }) @@ -886,7 +886,7 @@ The following methods are available on the ``web3.eth`` namespace. .. code-block:: python >>> tx = web3.eth.send_transaction({ - 'to': '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + 'to': '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'from': web3.eth.coinbase, 'value': 1000 }) @@ -909,12 +909,12 @@ The following methods are available on the ``web3.eth`` namespace. .. code-block:: python >>> web3.eth.sign( - '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', text='some-text-tö-sign') '0x1a8bbe6eab8c72a219385681efefe565afd3accee35f516f8edf5ae82208fbd45a58f9f9116d8d88ba40fcd29076d6eada7027a3b412a9db55a0164547810cc401' >>> web3.eth.sign( - '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', + '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', data=b'some-text-t\xc3\xb6-sign') '0x1a8bbe6eab8c72a219385681efefe565afd3accee35f516f8edf5ae82208fbd45a58f9f9116d8d88ba40fcd29076d6eada7027a3b412a9db55a0164547810cc401' diff --git a/docs/web3.geth.rst b/docs/web3.geth.rst index 90fab848e9..91895d392c 100644 --- a/docs/web3.geth.rst +++ b/docs/web3.geth.rst @@ -209,7 +209,7 @@ The following methods are available on the ``web3.geth.personal`` namespace. .. code-block:: python >>> web3.geth.personal.list_accounts() - ['0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7'] + ['0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD'] .. py:method:: list_wallets() @@ -239,7 +239,7 @@ The following methods are available on the ``web3.geth.personal`` namespace. .. code-block:: python - >>> web3.geth.personal.lock_account('0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7') + >>> web3.geth.personal.lock_account('0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD') True @@ -253,7 +253,7 @@ The following methods are available on the ``web3.geth.personal`` namespace. .. code-block:: python >>> web3.geth.personal.new_account('the-passphrase') - '0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7' + '0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD' .. py:method:: send_transaction(transaction, passphrase) @@ -287,9 +287,9 @@ The following methods are available on the ``web3.geth.personal`` namespace. .. code-block:: python - >>> web3.geth.personal.unlock_account('0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', 'wrong-passphrase') + >>> web3.geth.personal.unlock_account('0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'wrong-passphrase') False - >>> web3.geth.personal.unlock_account('0xFe89cc7aBB2C4183683ab71653C4cdc9B02D44b7', 'the-passphrase') + >>> web3.geth.personal.unlock_account('0x582AC4D8929f58c217d4a52aDD361AE470a8a4cD', 'the-passphrase') True