Skip to content

Conversation

@jasonpaulos
Copy link
Contributor

@jasonpaulos jasonpaulos commented Nov 9, 2021

To do:

  • Add Method, Interface, and Contract objects
  • Add AtomicTransactionComposer
  • Implement JSON description cucumber tests
  • Implement AtomicTransactionComposer cucumber tests

Closes #457

@jasonpaulos jasonpaulos force-pushed the feature/abi-interaction branch from 1015a57 to 228a56f Compare November 10, 2021 23:02
@jasonpaulos jasonpaulos marked this pull request as ready for review November 18, 2021 00:16
Copy link
Contributor

@algochoi algochoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and clean implementation -- just minor comments

Copy link
Contributor

@algochoi algochoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I think we can merge this after one more pair of eyes looks at it.

Copy link
Contributor

@ahangsu ahangsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jasonpaulos jasonpaulos merged commit 462a9b8 into develop Nov 22, 2021
@jasonpaulos jasonpaulos deleted the feature/abi-interaction branch November 22, 2021 21:43
jasonpaulos added a commit that referenced this pull request Jan 10, 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>
jasonpaulos added a commit that referenced this pull request Jan 19, 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

* adding accts for creator of app and app addr

* remove redundant app address

Co-authored-by: John Lee <john.lee@algorand.com>
Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
Co-authored-by: egieseke <eric_gieseke@yahoo.com>
Co-authored-by: Barbara Poon <barbara.poon@algorand.com>
aldur pushed a commit that referenced this pull request Jan 20, 2022
* 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
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.

ABI Interaction - off-chain programs invoking on-chain contracts

4 participants