make iex-0
to run interactive node with preconfigured ports and directoriesmake iex-1
,make iex-2
,make iex-3
to run configured nodes to be run in parallelmake clean
to clean project foldersmake clean-deps
to clean project folders and compile depsmake clean-deps-compile
to clean project and compile deps and projectmake killall
to kill all running elixir/erlang processesmake aevm-test-deps
to clone ethereum vm tests locally
To debug print the content tree |> PatriciaMerkleTree.print_debug()
can be used
To build a custom transaction you need to follow few simple steps:
- Make your own
transaction module
- Create your
custom transaction structure
- Override the
Transaction Behaviour
callbacks - Add your transaction handling module to a Governance constant module, to the constant, which holds a list of known transactions, called
@known_tx_types
- Write all your specific functions and checks inside your new
Transaction module
All custom transactions are children to the DataTx
Transaction that wraps them inside.
The DataTx structure hold:
- The name of your
transaction type
that should be youTransaction Module name
- The
payload
that will hold yourcustom transaction structure
sender
,fee
andnonce