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

Upgrade to v0.1.5 #8

Merged
merged 8 commits into from
Nov 11, 2021
Merged

Upgrade to v0.1.5 #8

merged 8 commits into from
Nov 11, 2021

Conversation

FabijanC
Copy link
Collaborator

@FabijanC FabijanC commented Nov 10, 2021

Usage

  • Make responses as similar as possible to those of Alpha 3 testnet (especially in case of rejected transactions).
  • Enable transaction signing.
  • Enable passing constructor calldata.
  • Bump version to v0.1.5

Dev

  • Code refactoring:
    • StarknetWrapper is isolated to a separate file (starknet_wrapper.py), and some functions are set to be its methods.
    • Code for adapting function input/output is moved to a separate file (adapt.py):
    • This is probably the biggest influence on this PR's number of changed lines.
  • Update TxStatus enumeration in util.py to include all possible statuses.
  • Define custom StarknetDevnetException inherited from StarkException
  • Improve CLI testing:
    • a new test task is added to config.yml which tests authentication usage
    • contract paths that were previously read from variables in .env are now defined with variables in testing scripts themselves
    • as .env file now serves no purpose, its mention in README.md is removed, as well as .env.example
  • Update dependencies.

@FabijanC FabijanC requested review from DeFiYaco and a user and removed request for DeFiYaco November 10, 2021 12:12
@FabijanC FabijanC merged commit 90fbf7e into master Nov 11, 2021
@FabijanC FabijanC deleted the reject-behavior branch November 11, 2021 09:47
AnthonyBuisset pushed a commit to AnthonyBuisset/starknet-devnet that referenced this pull request Aug 15, 2022
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.

1 participant