Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this tool support chains without 1559 transaction (only 155) #340

Closed
Pana opened this issue Jan 12, 2024 · 4 comments
Closed

Does this tool support chains without 1559 transaction (only 155) #340

Pana opened this issue Jan 12, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Pana
Copy link

Pana commented Jan 12, 2024

What is needed?

Want to use this tool on chains that are compatible but do not support 1559 tranaction

Background

Some EVM-compatible chains do not support 1559 transaction

@Pana Pana added the enhancement New feature or request label Jan 12, 2024
@Uxio0
Copy link
Member

Uxio0 commented Jan 15, 2024

It should work, did you have any problem?

@Pana
Copy link
Author

Pana commented Jan 20, 2024

When I run it on the EVM chain only supports 155 tx, it failed

@Uxio0
Copy link
Member

Uxio0 commented Jan 20, 2024

Can you share the output of the CLI?

@Uxio0 Uxio0 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
@ilzheev
Copy link

ilzheev commented Jan 10, 2025

Can you re-open this? @Uxio0
v1.3.0

Safe will be deployed on 0xA327cc41971f532c6be8EdB51692f5522B16Ae7a, looks good? [y/N]: y
/Users/anton/miniconda3/lib/python3.9/site-packages/web3/eth/eth.py:186: UserWarning: There was an issue with the method eth_maxPriorityFeePerGas. Calculating using eth_feeHistory.
  warnings.warn(
Traceback (most recent call last):
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/eth/eth.py", line 184, in max_priority_fee
    return self._max_priority_fee()
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/module.py", line 75, in caller
    result = w3.manager.request_blocking(
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/manager.py", line 325, in request_blocking
    return self.formatted_response(
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/manager.py", line 278, in formatted_response
    raise MethodUnavailable(error)
web3.exceptions.MethodUnavailable: {'code': -32601, 'message': 'Method not found'}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/anton/miniconda3/bin/safe-creator", line 8, in <module>
    sys.exit(main())
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/safe_cli/safe_creator.py", line 220, in main
    ethereum_tx_sent = proxy_factory.deploy_proxy_contract_with_nonce(
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/gnosis/safe/proxy_factory.py", line 253, in deploy_proxy_contract_with_nonce
    return self._deploy_proxy_contract(
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/gnosis/safe/proxy_factory.py", line 149, in _deploy_proxy_contract
    tx = deploy_fn.build_transaction(tx_params)
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/contract/contract.py", line 354, in build_transaction
    return build_transaction_for_function(
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/contract/utils.py", line 232, in build_transaction_for_function
    prepared_transaction = fill_transaction_defaults(w3, prepared_transaction)
  File "cytoolz/functoolz.pyx", line 263, in cytoolz.functoolz.curry.__call__
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/_utils/transactions.py", line 132, in fill_transaction_defaults
    default_val = default_getter(w3, transaction)
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/_utils/transactions.py", line 75, in <lambda>
    lambda w3, tx: w3.eth.max_priority_fee
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/eth/eth.py", line 190, in max_priority_fee
    return fee_history_priority_fee(self)
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/_utils/fee_utils.py", line 46, in fee_history_priority_fee
    fee_history = eth.fee_history(*PRIORITY_FEE_HISTORY_PARAMS)  # type: ignore
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/eth/eth.py", line 228, in fee_history
    return self._fee_history(block_count, newest_block, reward_percentiles)
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/module.py", line 75, in caller
    result = w3.manager.request_blocking(
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/manager.py", line 325, in request_blocking
    return self.formatted_response(
  File "/Users/anton/miniconda3/lib/python3.9/site-packages/web3/manager.py", line 278, in formatted_response
    raise MethodUnavailable(error)
web3.exceptions.MethodUnavailable: {'code': -32601, 'message': 'Method not found'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants