Skip to content

Instantly share code, notes, and snippets.

@BlinkyStitt
Created September 8, 2021 03:00
Show Gist options
  • Save BlinkyStitt/299bf8e405d3840683fe0ac51cd1b664 to your computer and use it in GitHub Desktop.
Save BlinkyStitt/299bf8e405d3840683fe0ac51cd1b664 to your computer and use it in GitHub Desktop.
Singleton deployer brownie
In [1]: account.transfer("0xBb6e024b9cFFACB947A71991E386681B1Cd1477D", ".0247 ether")
Current max gas price: 346.117 gwei
Transaction sent: 0x3249a5772daa7f44d90cd4711b5a202778013d78097289fbab31e53ab0251129
Gas price: 173.0585 gwei Gas limit: 21000 Nonce: 518
Transaction confirmed Block: 16641325 Gas used: 21000 (100.00%)
Out[1]: <Transaction '0x3249a5772daa7f44d90cd4711b5a202778013d78097289fbab31e53ab0251129'>
In [2]: web3.eth.sendRawTransaction("0xf9016c8085174876e8008303c4d88080b90154608060405234801561001057600080fd5b50610134806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80634af63f0214602d575b600080fd5b60cf60048036036040811015604157600080fd5b810190602081018135640
...: 100000000811115605b57600080fd5b820183602082011115606c57600080fd5b80359060200191846001830284011164010000000083111715608d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925060eb915050565b604080516001600160a01b0
...: 39092168252519081900360200190f35b6000818351602085016000f5939250505056fea26469706673582212206b44f8a82cb6b156bfcc3dc6aadd6df4eefd204bc928a4397fd15dacf6d5320564736f6c634300060200331b83247000822470")
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2-b0fe878e80c1> in <module>
----> 1 web3.eth.sendRawTransaction("0xf9016c8085174876e8008303c4d88080b90154608060405234801561001057600080fd5b50610134806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80634af63f0214602d575b600080fd5b60cf60048036036040811015604157600080fd5b810190602081018135640100000000811115605b57600080fd5b820183602082011115606c57600080fd5b80359060200191846001830284011164010000000083111715608d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925060eb915050565b604080516001600160a01b039092168252519081900360200190f35b6000818351602085016000f5939250505056fea26469706673582212206b44f8a82cb6b156bfcc3dc6aadd6df4eefd204bc928a4397fd15dacf6d5320564736f6c634300060200331b83247000822470")
~/code/argobytes-extra/venv/lib/python3.9/site-packages/web3/module.py in caller(*args, **kwargs)
55 return LogFilter(eth_module=module, filter_id=err.filter_id)
56 result_formatters, error_formatters, null_result_formatters = response_formatters
---> 57 result = w3.manager.request_blocking(method_str,
58 params,
59 error_formatters,
~/code/argobytes-extra/venv/lib/python3.9/site-packages/web3/manager.py in request_blocking(self, method, params, error_formatters, null_result_formatters)
185 """
186 response = self._make_request(method, params)
--> 187 return self.formatted_response(response,
188 params,
189 error_formatters,
~/code/argobytes-extra/venv/lib/python3.9/site-packages/web3/manager.py in formatted_response(self, response, params, error_formatters, null_result_formatters)
166 if "error" in response:
167 apply_error_formatters(error_formatters, response)
--> 168 raise ValueError(response["error"])
169 elif response['result'] in NULL_RESPONSES:
170 # null_result_formatters raise either a BlockNotFound
ValueError: {'code': -32000, 'message': 'only replay-protected (EIP-155) transactions allowed over RPC'}
In [3]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment