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

Downgrade to stable Starknet version #9

Merged
merged 3 commits into from
May 17, 2024

Conversation

luccamordente
Copy link
Collaborator

  • v6 is considered "Next"
  • Downgrading to v5

This is in preparation for being able to withdraw funds from Paradex.

* `getSocializedLossFactor`: Get the current socialized loss factor from
  the Paraclear contract.
* `getReceivableAmount`: Given a withdrawal amount, calculate the final
  amount that will be received depending on the socialized loss factor.
* v6 is considered "Next"
* Downgrading to v5
@SergeyVolynkin
Copy link

SergeyVolynkin commented May 17, 2024

@luccamordente @amayvs Yep, Starkware team says it is okay to use v6 in prod, so we can potentially just keep using it here

The only reason why Starkware does not release v6 as stable major due to some wallets still need to update (they say v6 goes live as early as 1-2 weeks~) ref: starknet-io/starknet.js#1040 (comment)

Base automatically changed from lucca/get-receivable-amount to main May 17, 2024 21:01
@luccamordente
Copy link
Collaborator Author

Starkware team says it is okay to use v6 in prod, so we can potentially just keep using it here

@SergeyVolynkin I propose we upgrade when v6 is officially released so we can see the docs for breaking changes and do a more extensive testing. For now we know v5 works well.

@luccamordente luccamordente merged commit 47fea81 into main May 17, 2024
@luccamordente luccamordente deleted the lucca/stable-starknet-version branch May 17, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants