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

feat: l1 l2 messaging postman #234

Merged
merged 93 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
4ae9237
feat: add function to collect from transaction info
glihm Oct 30, 2023
78d6d4d
feat: add ethers functions to send transactions on ethereum
glihm Oct 31, 2023
aef170d
add L1HandlerTransaction handling
glihm Oct 31, 2023
68cbc60
add comment for missing work
glihm Oct 31, 2023
1af8323
check TODO item in README
glihm Oct 31, 2023
1132d23
populate messages in transaction receipt (fixes #236 issue)
glihm Oct 31, 2023
579d112
Merge branch 'main' into feat/l1-l2-messaging
glihm Oct 31, 2023
e10545f
Merge branch 'main' into feat/l1-l2-messaging
glihm Nov 5, 2023
6ab0517
fix: adjust message extract from execution info
glihm Nov 5, 2023
0a9076b
feat: add ethereum function to deploy messaging contract
glihm Nov 5, 2023
252578d
feat: implement 3/4 of postman endpoints
glihm Nov 5, 2023
a2906b4
chore: remove unused contract artifact
glihm Nov 5, 2023
15bcae9
test: add ethereum bridge functions test
glihm Nov 5, 2023
8ee1f2f
tests: implement first tests for add_l1_handler_transaction
glihm Nov 5, 2023
90a7009
feat: add deserializer for u128
glihm Nov 6, 2023
f9b21b5
merge main
glihm Nov 6, 2023
b23e9e3
fix: remove additional dependency and parse u128 from Felt
glihm Nov 8, 2023
236ce99
Merge branch 'main' into feat/l1-l2-messaging
glihm Nov 8, 2023
9dfe0c9
feat: add default eth account for postman load l1 messaging contract
glihm Nov 8, 2023
741e114
merge main
glihm Nov 14, 2023
5f15087
fix: format + mini refacto
glihm Nov 14, 2023
4132dde
feat: add missing endpoint to consume message and return type for all…
glihm Nov 14, 2023
75f0188
tests: add intergation test for postman l2 endpoints
glihm Nov 16, 2023
6d34529
merge main + bump rustc to 1.70
glihm Nov 17, 2023
d8bfca7
fix: add support for abigen contract path depending on the configuration
glihm Nov 17, 2023
0faed03
feat: add contract + tutorial into README files
glihm Nov 17, 2023
a8aea6f
fix: fetch only messages from valid tx and keep local fetch index
glihm Nov 17, 2023
0eea51d
docs: add e2e examples and complete READMEs
glihm Nov 17, 2023
c53b923
fix: clippy and format
glihm Nov 17, 2023
9cee8cf
fix: fix flush to always return something
glihm Nov 17, 2023
03ff833
docs: fix coloring README
glihm Nov 17, 2023
4b8f356
docs: update README
glihm Nov 17, 2023
2d21683
fix: add missing env file
glihm Nov 17, 2023
5ed45eb
wip: merge main and rework basis of messaging types
glihm Nov 25, 2023
77ada63
fix: move types for messaging into types crate
glihm Nov 25, 2023
fa16749
refactor: add getter for starknet messaging
glihm Nov 26, 2023
a431b20
fix: cargo fmt
glihm Nov 26, 2023
ec4c9f6
fix: fix fee typo and display inner error for types and IO errors
glihm Nov 26, 2023
2ce682e
fix: fmt and clippy
glihm Nov 26, 2023
1bd162e
tests: adjust message_to_l2 and l1_handler_tx construct testing
glihm Nov 27, 2023
6a94483
feat: add reason string for OutOfRange error
glihm Nov 27, 2023
e994a0f
fix: implement several fixes from PR review
glihm Nov 27, 2023
6d8f315
wip: documentation rework
glihm Nov 27, 2023
e48ebd9
chore: forge init
glihm Nov 27, 2023
d6ed043
forge install: forge-std
glihm Nov 27, 2023
13d514e
fix: enhance devX with a single terminal for commands + fix typos
glihm Nov 27, 2023
9fd0c7e
fix: typo
glihm Nov 27, 2023
f16f4a3
fix: adjust casing and typo in READMEs
glihm Nov 27, 2023
0b480ed
feat: add generated_l2_transactions for flush + remove body requirement
glihm Nov 27, 2023
bce47a8
fix: correct the artifacts generation
glihm Nov 27, 2023
80eac3f
fix: remove artifacts from .git
glihm Nov 27, 2023
2bb7128
feat: add run_e2e script to quickly setup the nodes + example of send…
glihm Nov 27, 2023
62c118b
fix: add bold text to guide user for executing README operations
glihm Nov 27, 2023
7dd5d6e
fix: move example of starkli into common README
glihm Nov 27, 2023
92e2d9d
fix: typo
glihm Nov 27, 2023
c77425d
fix: adjust testing + correction from PR review
glihm Nov 27, 2023
822e0ee
fix: refactor messaging access
glihm Nov 27, 2023
867355f
fix: correct English wording
glihm Nov 27, 2023
5208964
fix: reintroduce MockStarknetMessaging.json artifacts + fix generate …
glihm Nov 27, 2023
4d04967
fix: remove unseless assert
glihm Nov 27, 2023
50d23e3
wip: add anvil spawning
glihm Nov 30, 2023
d23c640
feat: implement testing for two postman endpoint with L1
glihm Dec 1, 2023
483c52e
docs: update main README to link l1-l2 README
glihm Dec 1, 2023
c00a45d
fix: README typo
glihm Dec 1, 2023
1341be6
fix: remove private key related to ethereum account
glihm Dec 1, 2023
ee23d42
fix: update README with consume_message_from_l2 and remove .env in cairo
glihm Dec 1, 2023
8a3795a
fix: update run_e2e.sh with new commands
glihm Dec 1, 2023
bbedde4
fix: remove assert for L1HandlerTransaction version and add comment a…
glihm Dec 1, 2023
0129081
fix: use blockifier non_optional_call_infos to gather messages
glihm Dec 1, 2023
cc82e00
merge main
glihm Dec 1, 2023
46f4f63
Update README.md: minor corrections [skip ci]
FabijanC Dec 1, 2023
e5719da
Refactor spawning of background anvil
FabijanC Dec 4, 2023
2c255d4
Add foundry installation
FabijanC Dec 4, 2023
fcfdd3c
Use same TestError in starknet-server/tests
FabijanC Dec 4, 2023
abbc538
Fix foundry installation
FabijanC Dec 4, 2023
bf1bb14
Improve tests
FabijanC Dec 4, 2023
5b62609
refactor: rework messaging to support consume_message_from_l2
glihm Dec 5, 2023
01548e8
feat: add support for new forge version 0.2.0
glihm Dec 5, 2023
2f8ac6f
docs: update the documentation for the new consume_message_from_l2
glihm Dec 5, 2023
09959b7
chore: update artifacts data for MockStarknetMessaging to new forge v…
glihm Dec 5, 2023
250d7bf
docs: add clear separattion for mocking endpoints
glihm Dec 5, 2023
7d90978
refactor: simplify the l2->l1 messages handling
glihm Dec 6, 2023
d752363
docs: enhance readme + update e2e script
glihm Dec 6, 2023
eac1271
Fix typos
FabijanC Dec 6, 2023
74011ff
Improve NoBlock case by refactoring
FabijanC Dec 6, 2023
e9550c2
Use fixed foundry version; improve run_e2e.sh
FabijanC Dec 6, 2023
9cc2be4
tests: add anvil e2e test
glihm Dec 6, 2023
bc492dc
fix: address the TODO in ethereum.rs
glihm Dec 6, 2023
e346d9e
fix: reintroduced deletes file
glihm Dec 6, 2023
573ce05
Define ethers dependency in root Cargo.toml
FabijanC Dec 7, 2023
bb29e36
Rename sierra artifact to conform convention
FabijanC Dec 7, 2023
32ba3e8
Apply renaming in test code
FabijanC Dec 7, 2023
9e4623a
Extract constants in e2e tests
FabijanC Dec 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1,531 changes: 1,446 additions & 85 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -34,7 +34,7 @@ This repository is work in progress, please be patient. Please check below the s

- [ ] Availability as a package (crate)
- [ ] [Forking](https://0xspaceshard.github.io/starknet-devnet/docs/guide/fork)
- [ ] [L1-L2 Postman integration](https://0xspaceshard.github.io/starknet-devnet/docs/guide/postman)
- [x] [L1-L2 Postman integration](https://0xspaceshard.github.io/starknet-devnet/docs/guide/postman)
- [ ] [Block manipulation](https://0xspaceshard.github.io/starknet-devnet/docs/guide/blocks)
- [ ] [Advancing time](https://0xspaceshard.github.io/starknet-devnet/docs/guide/advancing-time)

Expand Down