Skip to content

04_deploye_create.py 'max priority fee per gas higher than max fee per gas' #24

@tradable-kash

Description

@tradable-kash

🐛 Bug Report for zksync2-examples Python SDK

📝 Description

You cannot submit contract to zksync since it throws an exception of max_priority_fee being greater than max_fee

🔄 Reproduction Steps

  1. Run 04_deploy_create.py with proper values

🤔 Expected Behavior

We should get the contract address of the submitted contract

😯 Current Behavior

It fails to create contract and throws an exception
ValueError: {'code': 3, 'message': 'max priority fee per gas higher than max fee per gas', 'data': '0x'}

🖥️ Environment

  • Python version: [e.g., Python 3.11]
  • Operating System & Version: [e.g., Mac OSX]
  • Other relevant environment details:

📋 Additional Context

Add any other context about the problem here. If applicable, add screenshots to help explain.

📎 Log Output

Paste any relevant log output here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions