Skip to content

Conversation

@barnjamin
Copy link
Contributor

Adding method createDryrun to construct DryrunRequest from client and array of SignedTransaction objects

onetechnical and others added 9 commits November 23, 2021 17:46
* Move multisig code out of main

* Implement JSON description objects

* Fix multisig export

* Implement atomic txn composer and fix variable shadow issues

* Actually copy transactions

* Implement JSON description cucumber tests

* Fix lots of bugs and pass JSON cucumber tests

* Implement payment txn encoding test

* Implement composer tests

* Add missing export to main

* Fix step implementation

* Fix remaining integration tests

* Fix for firefox

* Final fixes for firefox

* appID -> appId

* Actually finally fix firefox tests

* Check for unpaired parenthesis when parsing method sig

* Also allow generic `txn` type

* Handle null method args

* Throw error when building a group with 0 txns

* PR feedback
@barnjamin barnjamin requested a review from jdtzmn December 5, 2021 13:39
@barnjamin barnjamin requested review from ahangsu and algochoi and removed request for jdtzmn December 6, 2021 14:53
@barnjamin
Copy link
Contributor Author

While testing the output as msgpack, tealdbg uses the applications in the created-apps of an account if its available instead of the app itself. I'm not sure that is correct to do but it exposed the fact that I was passing the b64 string instead of the bytes from the program.

The latest commit includes logic to decode the approval/clear-state programs after we get them back from the rest calls but before adding them to the info arrays.

I'm not happy with how its done here, please offer a better way if you've got one

@jasonpaulos jasonpaulos merged commit 720e600 into algorand:develop Jan 10, 2022
aldur pushed a commit that referenced this pull request Jan 20, 2022
* adding dryrun function, untested

* export dryrun in main

* Add ABI interaction support (#466)

* Move multisig code out of main

* Implement JSON description objects

* Fix multisig export

* Implement atomic txn composer and fix variable shadow issues

* Actually copy transactions

* Implement JSON description cucumber tests

* Fix lots of bugs and pass JSON cucumber tests

* Implement payment txn encoding test

* Implement composer tests

* Add missing export to main

* Fix step implementation

* Fix remaining integration tests

* Fix for firefox

* Final fixes for firefox

* appID -> appId

* Actually finally fix firefox tests

* Check for unpaired parenthesis when parsing method sig

* Also allow generic `txn` type

* Handle null method args

* Throw error when building a group with 0 txns

* PR feedback

* bump up to v1.13.0-beta.1 and add to changelog

* Update integrity hash

* adding dryrun function, untested

* export dryrun in main

* actually push promises into array, use argument object

* Adding magic app id

* encode the address since we're expecting a string

* decode programs in accounts

* adding app addr to accounts

Co-authored-by: John Lee <john.lee@algorand.com>
Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
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.

5 participants