This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
Tags: OpenZeppelin/nile
Tags
Add `nile-account` flag to set Nile artifacts path (#315) * add nile-account flag * add overriding path to get_class_hash * add overriding_path to tests * fix docstring * add try/except to execute_call * fix path to locate nile artifacts * add _get_contracts_data test * remove unused var * add unregister for accounts * add watch_mode to account inits * unregister account upon account deploy rejection * remove duplicate func * fix formatting * add declare account test * fix formatting * remove unused variables * add unregister tests, add indent to accounts.json * add unregister test with wrong address * consolidate abi to contract path logic, fix tests * add assertion error message * Update src/nile/core/account.py Co-authored-by: Eric Nordelo <eric.nordelo39@gmail.com> * add nile root path constants * fix deploy test * fix formatting * define NILE_ARTIFACTS_PATH as constant * rename test_accounts.py Co-authored-by: Eric Nordelo <eric.nordelo39@gmail.com>
Support Cairo 0.10.1 (#268) * add async deps * update funcs to async * adjust run_cmd, add helper funcs * adjust methods to async * adjust nre to async * fix formatting * replace arg object, fix nre and output * fix formatting * add rstrip to capture * async get-nonce * remove comments * fix formatting * add event loop * update tests without subprocess * update cli tests with asyncclick * adjust tests to async * add set_args func * simplify context with set_args * remove subprocess, add set_args * add tests for common funcs * async debug, remove subprocess * fix test * bump cairo-lang * fix conflicts * fix conflicts * fix account test conflicts * add sign_deployment * bump tox version * update account tests to async * update debug test to async * update get_accounts to async * start test refactor * add async to nre snippets * add language to code block * fix url tests * fix tests * fix formatting * fix get_gateway handling * remove redundant mock * fix formatting * remove unused func * fix linter * bump devnet (to support depploy_account) * bump devnet (to support depploy_account) * clean up test * fix network handling * fix tx_status calls * add account.deploy with __validate_deploy__ * support mainnet token * add call_cli func * abstract command args * fix tests with call_cli * fix tests with call_cli * fix formatting * remove unnecessary hex * remove async from simulate methods * remove unnecessary int conversion * add comment regarding AsyncObject in Account * handle async logging * fix formatting * refactor _process_arguments * fix formatting * test account.deploy * test deploy_account * fix linting * add salt and max_fee to Account constructor * fix linting * fix _process_arguments * fix test * fix tx output and error handling * fix formatting * add starknet_cli module * improve command_args handling * fix sender param * fix docstring formatting * add starknet_cli tests * fix status test * move tests to starknet_cli * update patch location * test args in execute_call * add comments * remove comments * fix conflicts. address review comments * fix linting * fix merge * add gateway response tests * update account artifacts w/vali_deploy * add get_balance and conterfactual_address * fix tests and implementations * fix linting * fix tests * add README * fix typo * Update README.md Co-authored-by: Eric Nordelo <eric.nordelo39@gmail.com> * Update src/nile/signer.py Co-authored-by: Andrew Fleming <fleming-andrew@protonmail.com> * apply review comments * fix linting * fix linting * fix linting * test get_balance, fix circular depedency * fix linting * improve get-balance logging * fix tests * fix linting * fix tests * fix tests * fix linting * apply review suggestions * fix linting Co-authored-by: Andrew <fleming-andrew@protonmail.com> Co-authored-by: Eric Nordelo <eric.nordelo39@gmail.com>
Add queries to CLI and Account interface (#230) * feat: add queries to CLI * feat: format and lint * feat: update README.md * feat: add test coverage * Update src/nile/core/call_or_invoke.py Co-authored-by: Andrew Fleming <fleming.andrew@protonmail.com> * feat: update Account artifact * feat: update sign_transaction signature * feat: update Account artifact * feat: add execution permission to cli again * refactor: remove execute_query duplicated code * fix: update test * fix: format files * feat: update artifacts Co-authored-by: Andrew Fleming <fleming.andrew@protonmail.com>
Support Cairo 0.10 (#184) * add new account artifacts * migrate cairo syntax * bump cairo lang * remove Makefile from base project * update signer * clear debug code * fix linter * Update __init__.py * drop python3.7 support * remove nonce from execute params. fix max_fee type * fix linter * fix test * fix tests * fix linting * add missing docstring * improve tests. simplify calldata management * fix linter * fix gateway flags * apply code review suggestions. signer takes hex or int
Add get-accounts command (#119) * add get-accounts * add get-account tests * add new test key * update readme * remove comment * fix docstring * Update README.md Co-authored-by: Martín Triay <martriay@gmail.com> * add nre msg for get-accounts * fix logging * update test logs * test nre get-accounts msgs * add link to docs in print msg * add link to docs, move internal func * update test logs * formatting * change log to print * update msgs in get-accounts tests Co-authored-by: Martín Triay <martriay@gmail.com>
PreviousNext