Skip to content

Commit

Permalink
Enable release of v0.8.0-alpha.4 (#403)
Browse files Browse the repository at this point in the history
* Update devnet to 0.6.0 and cairo to 2.1.0

* Add --single-file compilation support

* Fix --single-file passing

* Add REVERTED

* Add missing --single-file in test

* Fix compilation failure assertion

* Use cairo1BinDir in all tests with cairo1 compilation

* Fix assertion of failed compilation

* Specify venv where cairo1BinDir used

* Fix test; remove constructor test

* Recursively extract ABI entries; support interfaces

* Repair v2 declare signatures

* Swap underlying event decoder

* Skip tests reliant on testnet fork

* [skip testnet]

---------

Co-authored-by: Petar Penovic <penovicp@gmail.com>
  • Loading branch information
FabijanC and penovicp committed Aug 23, 2023
1 parent 74de73b commit 195a59c
Show file tree
Hide file tree
Showing 29 changed files with 364 additions and 250 deletions.
4 changes: 2 additions & 2 deletions config.json
@@ -1,6 +1,6 @@
{
"CAIRO_LANG": "0.11.2",
"STARKNET_DEVNET": "0.5.4",
"CAIRO_COMPILER": "v1.1.0",
"STARKNET_DEVNET": "0.6.0",
"CAIRO_COMPILER": "v2.1.0",
"SCARB_VERSION": "0.4.0"
}
248 changes: 234 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -43,7 +43,7 @@
"form-data": "^4.0.0",
"glob": "^10.0.0",
"shelljs": "^0.8.5",
"starknet": "~5.17.0"
"starknet": "~5.19.3"
},
"peerDependencies": {
"hardhat": "^2.14.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/test.sh
Expand Up @@ -57,7 +57,7 @@ function run_test() {
if npx hardhat --typecheck --config "$CONFIG_FILE_NAME" 1>/dev/null; then
echo "Config file is valid"
else
echo "Invalid config"
echo "Invalid config! Test failed!"
# Clean up the temporary config file
rm "$CONFIG_FILE_NAME"
return 0
Expand Down

0 comments on commit 195a59c

Please sign in to comment.