moonstream-to / moonworm

codegen for crypto degens and other ethereum smart contract toolkit for python
Apache License 2.0
36 stars 7 forks source link

Added EIP1559 parameters to generated CLI for brownie projects #53

Closed zomglings closed 2 years ago

zomglings commented 2 years ago

Changes

moonworm generate-brownie now adds to parameters to generated CLI commands which submit transactions:

  1. --max-fee-per-gas
  2. --max-priority-fee-per-gas

These parameters are optional, and transactions which specify these parameters are submitted as EIP1559 transactions.

How to test these changes?

Tested on Moonstream DAO repo (successfully): https://github.com/bugout-dev/dao/pull/30

Related issues