-
Notifications
You must be signed in to change notification settings - Fork 493
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
Goal: adding auth addr to signed txn if signer is passed #3459
Closed
Closed
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
cd116c0
The new inner appl fields
jannotti 1f34627
Merge branch 'master' into inner-appl
jannotti 088a724
Unit tests for field setting on appls
jannotti 3b742fb
Construct EvalDelta in AVM rather than by inspecting ledger
jannotti bb4e0cd
Merge 'master' into inner-appl, adapt to ledger/internal mocks.
jannotti 4797e9b
Obey the linter!
jannotti fc4455c
more LedgerForEvaluation accomodation
jannotti 2ad431b
Test inner evaldeltas
jannotti 5046b23
Checks on calling old AVM apps, or re-entrancy
jannotti 6d80f94
Allow opcode budget to be added to by executing inner apps.
jannotti 2fdee53
TxID and GroupID for inner transactions
jannotti a4e71f0
gitxn/gitxna
jannotti f81082c
Lint, spec generate
jannotti a9f66ae
Merge branch 'master' into inner-appl
jannotti 566c840
txn simplifications
jannotti 19fdabc
Encode "arrayness" in the txn field spec
jannotti 8fdff9a
Pavel's CR comments
jannotti cc690fb
Update tests to distinguish assembly / eval errors
jannotti a64bd3b
Test itxn_field assembly separate from eval
jannotti b86e11f
factor out the array index parsing of all the txn assembly
jannotti 3f348fd
Consistent errors and parsign for many opcodes
jannotti ff34b35
Cleanup immediate parsing, prep txn effects testing
jannotti 4c2d6e5
EvalParams is now a single object used to evaluate each txn in turn.
jannotti d1efc26
Simplifications for the Dawg (the Review Dog)
jannotti 099f843
Use a copy for the EvalParams.TxnGroup
jannotti 1995986
Set the logicsig on txns in the GroupContext, so check() can see it
jannotti 0f357e8
Update test for explicit empty check
jannotti 9519f9a
Merge branch 'master' into inner-appl
jannotti d371ef2
Three new globals for to help contract-to-contract usability (#3237)
jannotti d28eca1
Gloadss (#3248)
jannotti bdf68f3
Feature/contract to contract (#3285)
jannotti bc11d24
add access to resources created in the current group (#3340)
jannotti 50c025f
Feature/contract to contract (#3357)
jannotti ae1913a
Feature/contract to contract (#3389)
jannotti ef0fad7
Feature/contract to contract (#3390)
jannotti 80dd665
Merge branch 'master' into feature/contract-to-contract
jannotti 0dd28f2
Feature/c2c temp (#3392)
jannotti b385f6b
Feature/contract to contract (#3394)
jannotti 4e717ce
Merge branch 'feature/contract-to-contract' of github.com:algorand/go…
jannotti d2594fb
Feature/contract to contract (#3395)
jannotti b70783e
Feature/contract to contract (#3401)
jannotti 62469a2
Feature/contract to contract (#3402)
jannotti 29269c3
Feature/contract to contract update (#3412)
bricerisingalgorand a4d9d71
c2c: bsqrt, acct_params_get (#3404)
jannotti 593be3c
Feature/contract to contract (#3418)
algoidurovic a106e83
Allow 256 inners (#3422)
jannotti 63750bc
Merge branch 'master' into feature/contract-to-contract
jannotti 83bccc5
merge before audit (#3431)
jannotti db86fbd
Merge branch 'feature/contract-to-contract' of github.com:algorand/go…
jannotti bc30258
adding auth addr to signed txn if signer is passed
barnjamin 8432687
Updating with latest master (#3488)
algojack 24bf5da
Merge branch 'feature/contract-to-contract' of github.com:algorand/go…
barnjamin ebfcee1
Feature/contract to contract master update (#3504)
bricerisingalgorand 9bb0e46
Feature/contract to contract (#3505)
jannotti 7baef22
Merge branch 'master' into feature/contract-to-contract
jannotti be9dab7
Merge branch 'feature/contract-to-contract' of github.com:algorand/go…
barnjamin ca06764
pooling costs, 3 opcodes
jannotti 26321ec
txn LastLog (#3525)
jannotti 72d2b0c
Tsachi review. (#3530)
jannotti 84b52e7
Only allow access to txn effects for previous transactions (#3529)
jannotti 7c2329c
Tsachi cr (#3538)
jannotti 8215cfb
Merge branch 'feature/contract-to-contract' of github.com:algorand/go…
barnjamin abe3c6a
Inner clearstate (#3556)
jannotti 9fca1ee
Merge branch 'master' into feature/contract-to-contract
jannotti 3d247a1
Merge branch 'feature/contract-to-contract' of github.com:algorand/go…
barnjamin cdbf4f0
Global test (#3587)
jannotti 5358014
move signer check to inside lsig check
barnjamin 2c7b906
Match old BuildEvalDelta behaviour - no delete missing keys (#3594)
jannotti 46529d3
spelling (and clarity) fix
jannotti 61841b5
Merge branch 'feature/contract-to-contract' of github.com:algorand/go…
barnjamin b5edec6
Merge branch 'feature/contract-to-contract' into logic-auth
barnjamin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't
client.SignTransactionWithWalletAndSigner
already does that ? I think that this would only be needed in the case oflsig.Logic != nil
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, do you mean move this if case into the lsig != nil check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. But I could be wrong.
I think that the correct way to approach this is to have this tested.
We have some expect tests for the goal commands. I think that extending those to cover this use case wound't be a bad idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tweaked the logic but I'm struggling to find where the tests mentioned live
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests lives in /go-algorand/test/e2e-go/cli/goal/expect