Wykres commitów

185 Commity (main)

Autor SHA1 Wiadomość Data
Neeraj Kashyap 954b100b79 Bumped version to 0.9.0 2024-04-09 10:13:04 -07:00
Neeraj Kashyap 6e930cb7d8 Fixed black formatting 2024-04-09 10:12:30 -07:00
Uriel Chami aa2bd285bf Fixing the tuple array parsing. Now type=eval is included 2024-04-09 13:10:36 -03:00
Neeraj Kashyap ec3e5bccb7 Generate Brownie interface for Foundry project
It is now possible to call `moonworm generate-brownie` with the
`--foundry` argument.

If it is called this way, the Brownie interface is generated with
reference to a Foundry project.

Rough around the edges, and may not play nice with `--prod`, which is
anyway not working well for deployments (even before the addition of
`--foundry`).

The same scheme we use to remap the build object for `--foundry` should
be generalized across both `--foundry` and `--prod`.
2023-11-07 11:14:26 -08:00
Neeraj Kashyap 93da922071 Filter out unnamed items from ABI on `moonworm watch`
Bumped version to 0.7.2.

Added documentation about how to use `moonworm watch`.
2023-09-04 20:30:34 -07:00
Neeraj Kashyap a8768e9e29 Black formatting 2023-08-20 15:23:08 -07:00
Neeraj Kashyap 475cb84464 Added state mutability pure bypass for get_transaction_config
in `generate_cli_handler`.
2023-08-20 15:21:20 -07:00
Neeraj Kashyap 693fc98a1d Black formatting 2023-08-09 13:23:18 -07:00
Neeraj Kashyap a39d2b8486
Merge branch 'main' into fix-exception-when-no-constructor 2023-08-09 13:20:20 -07:00
Neeraj Kashyap 01d0ed1992
Merge pull request #113 from moonstream-to/arbitrary-cli-argtypes
Add support to generated CLIs for function arguments of arbitrary type
2023-08-09 13:19:34 -07:00
Neeraj Kashyap 73f2591632 Fixed code 2023-08-08 16:35:02 -07:00
Neeraj Kashyap 0567ce0893 Added proper CLI logic for parameters of general type
We just run a Python eval.

Resolves https://github.com/moonstream-to/moonworm/issues/112
2023-08-08 15:39:51 -07:00
Neeraj Kashyap 1fffc52ad3 Some housekeeping.
Tests and mypy checks are completely broken. We will fix them later.
2023-08-08 15:34:03 -07:00
kompotkot 9c0ee7cfa6 Fixed links in code generation templates and setup.py 2023-06-14 15:24:53 +00:00
kompotkot ea84959c74 Fix to bypass exception when no constructor 2023-04-10 20:32:00 +00:00
Andrey 29bdd6faa9 Merge branch 'main' into fix-type-extetions 2023-03-08 19:40:27 +02:00
Andrey 150b468e82 isort 2023-03-08 19:18:45 +02:00
Andrey 76a9e49b72 Remove import from moonsteramdb_event_state.
Remove unrequired imports.
2023-03-07 14:42:12 +02:00
Andrey 6ca373ce36 black formating. 2023-03-06 18:09:08 +02:00
Andrey cc6032fad0 isort fix 2023-03-06 18:02:42 +02:00
Andrey bcb6270273 Remove import from moonstreamdb. 2023-03-06 16:03:44 +02:00
Andrey 29a3a80a28 Move all dependency from moonstreamdb to networks. Will required upper version of moonstreamdb. 2023-03-06 15:59:23 +02:00
Andrey b2d87ce655 Fix sorting. 2023-03-06 14:08:29 +02:00
Andrey 31639e1eb4 Add Wyrm support. 2023-03-06 14:03:33 +02:00
Neeraj Kashyap d48434a2ee Black formatting 2023-01-29 05:15:12 -08:00
Neeraj Kashyap 82fd462c34 Got overloaded function behavior working correctly
Also included a fix for https://github.com/bugout-dev/moonworm/issues/91
and https://github.com/bugout-dev/moonworm/issues/50
2023-01-29 05:09:33 -08:00
kompotkot fceb943aa1 Typo and black fix 2022-11-02 14:58:39 +00:00
kompotkot f267e1122f Usage of Mumbai db models 2022-11-02 14:56:28 +00:00
kompotkot 90f78f424e Enum mumbai 2022-11-02 14:40:03 +00:00
Andrey 190057714d fix isort. 2022-09-20 20:01:42 +03:00
Andrey 00ebab61b7 Change version. 2022-09-20 19:48:00 +03:00
Andrey 3293ee4121 Move _crawl_events from watch_contract. 2022-09-20 19:43:58 +03:00
Yhtyyar Sahatov 18cb7e55e9
Merge pull request #97 from zomglings/docstrings
Docstrings
2022-09-20 14:04:41 +03:00
Venticello 3a5388c1d4 black for syntax 2022-09-20 13:57:21 +03:00
Venticello eef88a91a3
Web3() -> Web3 for static fuctions.
Avoid creating an instance of the Web3 class for static functions.
2022-09-20 13:35:33 +03:00
Venticello e8de0428ef
whitelisted_methods list -> set 2022-09-20 10:08:34 +03:00
Neeraj Kashyap 0fb025df52 Comprehensive docstrings as part of our renewed documentation efforts 2022-09-19 21:16:16 -07:00
Neeraj Kashyap e6c1641704 Added docstrings for watch_contract 2022-09-19 19:34:55 -07:00
Neeraj Kashyap 268e46766c Started adding docstrings on "moonworm watch" 2022-09-19 18:45:00 -07:00
Neeraj Kashyap 454b5d7754 Removed "watch-cu" command and all related code 2022-09-19 18:15:40 -07:00
Neeraj Kashyap c297079336 Version bump to 0.5.0 2022-09-19 18:10:03 -07:00
Venticello d966332576
Whitelisted methods from ABI
Transaction processing only with the functions that are in the ABI. Others are ignored and a message is printed with the method ID and transaction hash.
2022-09-19 16:44:14 +03:00
Yhtyyar Sahatov 7271c20b09 removed unused import 2022-09-14 18:23:51 +03:00
Yhtyyar Sahatov a25b9dbd4b fix of the typo 2022-09-13 17:14:26 +03:00
Yhtyyar Sahatov 5a7afee818 removed comments 2022-09-13 17:09:12 +03:00
Yhtyyar Sahatov d1362def1f removed unused import 2022-09-13 17:05:44 +03:00
Yhtyyar Sahatov 9b33987f47 generator file uses realative path to project directory 2022-09-13 17:01:25 +03:00
Yhtyyar Sahatov a7d5240078 fixed to typo 2022-09-12 17:29:24 +03:00
Yhtyyar Sahatov 4c62d2a4bc --prod option for moonworm 2022-09-12 17:23:28 +03:00
Yhtyyar Sahatov a7023e551b isort 2022-08-04 15:47:57 +03:00