Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Implemented postman interaction with devnet #36

Merged
merged 16 commits into from
Feb 14, 2022

Conversation

dribeiro-ShardLabs
Copy link
Contributor

@dribeiro-ShardLabs dribeiro-ShardLabs commented Feb 9, 2022

Implemented postman interaction with devnet

Added 2 new endpoints, described in the Readme

For devnet usage, ganache-cli is not a dependency (i.e, not interacted with in a direct way programatically), however all Web3 intaractions are only supported on local L1 testnets, so users will need to have a ganache-cli instance running in their machines.

Files to be ignored from review (copied from Starknet repo, which will be included in the next cairo-lang version):
"starknet_devnet/postman/eth_test_utils.py"
"starknet_devnet/postman/postman.py"

The solidity files will also be present in the future version of the cairo-lang package, however these will remain in this repository, as they are needed for testing purposes.

The MockStarknetMessaging.json file was generated manually, as it is not present in the cairo-lang repository, but it should also be included in the next versions.

@dribeiro-ShardLabs dribeiro-ShardLabs force-pushed the postman-support branch 15 times, most recently from 9f84533 to ac2131f Compare February 10, 2022 20:09
scripts/setup_example.sh Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
test/settings.py Outdated Show resolved Hide resolved
test/settings.py Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
starknet_devnet/postman_wrapper.py Outdated Show resolved Hide resolved
test/test_postman.py Outdated Show resolved Hide resolved
test/test_postman.py Outdated Show resolved Hide resolved
test/web3_util.py Outdated Show resolved Hide resolved
test/test_postman.py Outdated Show resolved Hide resolved
starknet_devnet/postman_wrapper.py Outdated Show resolved Hide resolved
starknet_devnet/starknet_wrapper.py Outdated Show resolved Hide resolved
starknet_devnet/server.py Outdated Show resolved Hide resolved
starknet_devnet/postman_wrapper.py Outdated Show resolved Hide resolved
@FabijanC FabijanC self-requested a review February 14, 2022 09:23
@dribeiro-ShardLabs dribeiro-ShardLabs force-pushed the postman-support branch 11 times, most recently from 2d74ff9 to 0b4f7e7 Compare February 14, 2022 14:29
README.md Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants