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

Enable tests for payments-dev branch #2724

Closed
wants to merge 16 commits into from
Closed

Conversation

kamirr
Copy link
Contributor

@kamirr kamirr commented Aug 29, 2023

No description provided.

kamirr and others added 2 commits August 28, 2023 16:23
* new payment driver: update deps & remove zksync
* new payment driver: initial integration
  * temporary fix of payment example -- will not work with new driver. TODO: make the new driver work in the example.
  * cleanup transfer, remove _transfer, remove gasless.
  * general way to compute chain_id based on config-payments.toml.
  * remove lots of code made obsolete by the new driver.
  * introduce signer for signing transactions for erc20_payment_lib
* temporarily disable payment fund.

---------

Co-authored-by: scx1332 <[email protected]>
@kamirr kamirr requested a review from a team as a code owner August 29, 2023 09:26
@kamirr kamirr linked an issue Aug 29, 2023 that may be closed by this pull request
@kamirr kamirr marked this pull request as draft August 30, 2023 11:03
This test used a serde_json::Value -> flexbuffers -> Rust struct serde
trip which is not guaranteed to work and should not be relied upon. The
proper route is Value -> flexbuffers -> Value -> Rust.

This only broke recently because without the arbitrary_precision feature
of serde_json the shorter path works. The feature has been enabled due
to the addition of erc20_payment_lib to the dependency graph, which
transitively depends on serde_json with arbitrary prec. Note that cargo
unifies duplicate dependencies under the assumption that features are
purely additive, hence the spooky action at a distance.
@kamirr kamirr linked an issue Sep 4, 2023 that may be closed by this pull request
@kamirr kamirr marked this pull request as ready for review September 7, 2023 14:32
@kamirr kamirr changed the base branch from payments-dev to master September 7, 2023 14:35
@kamirr kamirr changed the base branch from master to payments-dev September 7, 2023 14:35
@kamirr kamirr changed the base branch from payments-dev to master September 7, 2023 14:35
@kamirr kamirr changed the base branch from master to payments-dev September 7, 2023 14:37
@kamirr kamirr closed this Sep 7, 2023
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.

1 participant