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

Shift from existing utilities to broader starknet.js usage #411

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"CAIRO_LANG": "0.11.2",
"STARKNET_DEVNET": "0.6.3",
"STARKNET_DEVNET": "78527decb3f76c4c808fa35f46228557af3df385",
"CAIRO_COMPILER": "2.2.0",
"SCARB_VERSION": "0.7.0"
}
1,332 changes: 503 additions & 829 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"form-data": "^4.0.0",
"glob": "^10.0.0",
"shelljs": "^0.8.5",
"starknet": "~5.19.3",
"starknet": "~5.24.5",
"tar-fs": "^3.0.4"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions scripts/devnet-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ if [[ -n "${STARKNET_HARDHAT_DEV:-}" ]]; then
fi

STARKNET_DEVNET="${STARKNET_DEVNET:=$STARKNET_DEVNET_DEFAULT}"
docker pull -q shardlabs/starknet-devnet:$STARKNET_DEVNET
container_id=$(docker run --rm --name starknet_hardhat_devnet -d -p 0.0.0.0:$PORT:$PORT shardlabs/starknet-devnet --seed 42)
docker pull -q shardlabs/starknet-devnet-rs:$STARKNET_DEVNET
container_id=$(docker run --rm --name starknet_hardhat_devnet -d -p 0.0.0.0:$PORT:$PORT shardlabs/starknet-devnet-rs --seed 0)
echo "Running devnet in container starknet_hardhat_devnet $container_id"

else
starknet-devnet --host $HOST --port $PORT --seed 42 >/dev/null 2>&1 &
starknet-devnet --host $HOST --port $PORT --seed 0 >/dev/null 2>&1 &
echo "Spawned devnet with PID $!"
fi

Expand Down
4 changes: 2 additions & 2 deletions scripts/set-devnet-vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

set -u

export OZ_ACCOUNT_ADDRESS=0x347be35996a21f6bf0623e75dbce52baba918ad5ae8d83b6f416045ab22961a
export OZ_ACCOUNT_PRIVATE_KEY=0xbdd640fb06671ad11c80317fa3b1799d
export OZ_ACCOUNT_ADDRESS=0x64b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691
export OZ_ACCOUNT_PRIVATE_KEY=0x71d7bb07b9a64f6f78ac4c816aff4da9
2 changes: 1 addition & 1 deletion scripts/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trap 'for killable in $(jobs -p); do kill -9 $killable; done' EXIT

# setup example repo
rm -rf starknet-hardhat-example
EXAMPLE_REPO_BRANCH="plugin"
EXAMPLE_REPO_BRANCH="stjs"
if [[ "$CIRCLE_BRANCH" == "master" ]] && [[ "$EXAMPLE_REPO_BRANCH" != "plugin" ]]; then
# prevents using starknet-hardhat-example branch other than "plugin" when starknet-hardhat-plugin PRs are merged
echo "Invalid example repo branch: $EXAMPLE_REPO_BRANCH"
Expand Down
Loading