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

[txs] change balance_transfer API for Carpe app #990

Closed

Conversation

ea-open-source
Copy link
Contributor

@ea-open-source ea-open-source commented Feb 15, 2022

Motivation

The current implementation of balance_transfer makes the app crash when invoked from Carpe app, possibly due to the call to get TxParams inside balance_transfer. So, this PR requires the calling code to directly pass TxParams parameter when invoking balance_transfer

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

You can run the following command

cargo xtest --package txs

Related PRs

[cli] API for getting wallet type

0o-de-lally and others added 21 commits February 5, 2022 17:17
* move the default init of txparams to a constructor

* seprate the txparams type into a new module. place constructors in right place.
change default behavior of initializing TX params, to find a good upstream from the list of upstream_nodes.

* cargo fix

* clear warnings

* patch build

* patch build

* patch get_process

* cli args patch

* remove default_node from 0L.toml

* rename upstream_nodes to rpc_fullnodes

* patch tests

* app configs documentation

* grammar

* make upstream_node not an option

* build

* limit backlog sending when miner has maxed current epoch proofs.

* patch issue with swarm not making txs params

* make MAX_PROOFS_PER_EPOCH pub

* clean

* patch test build error

* backlog should exit with a TxError if can't evaluate tx status

* scaffold tower error

* patch build

* patch build

* change return type

* patch build

* display trait for towererror

* format tower errors

* Add tower error

* add error code

* add tower error

* add lower bound mining thresh

* patch defaults affecting integration tests

* tower WrongDifficulty type

* patch build

* remove evil unwraps

* remove annoying prints
[tools] rpc-playlist initialization with ol init
…NetworkCommunity#983)

* adds documentation on how to set up a build environment for macOS

* adds command to make setup script executable

* dynamically determines library path for brew
@0o-de-lally
Copy link
Collaborator

@ea-open-source I've changed target branch for this PR. Can you resolve the conflicts? Thank you

@ea-open-source
Copy link
Contributor Author

ea-open-source commented Feb 18, 2022

Close this one due to incorrect source branch. New PR is here

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.

6 participants