Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
43381a2
review + notes
PatrickDinh Oct 31, 2025
d9e89a4
wip - integration
PatrickDinh Oct 31, 2025
075667f
Merge branch 'feat/transact-integration' into composer-integration
PatrickDinh Nov 1, 2025
6278023
wip - add transactions into the composer
PatrickDinh Nov 2, 2025
cc3447e
wip - build transactions
PatrickDinh Nov 2, 2025
71d11d4
wip - build app call
PatrickDinh Nov 2, 2025
447bba9
wip - done app call
PatrickDinh Nov 2, 2025
0fcd051
wip - method call
PatrickDinh Nov 2, 2025
5112899
wip - build method calls done
PatrickDinh Nov 3, 2025
3943837
wip - resource population
PatrickDinh Nov 3, 2025
7a59dfb
wip - done simulate
PatrickDinh Nov 3, 2025
7d55cb8
wip - composer send
PatrickDinh Nov 3, 2025
653c14d
wip - refactor to keep the public interface
PatrickDinh Nov 3, 2025
498d8ec
comment out test - can build and check types now
PatrickDinh Nov 3, 2025
d69dc7d
wip - fixing tests
PatrickDinh Nov 3, 2025
52292a2
wip - fix tests
PatrickDinh Nov 3, 2025
9c836c0
wip - fix signer for nested txn
PatrickDinh Nov 4, 2025
d105e4c
update error message
PatrickDinh Nov 4, 2025
f64509d
Merge branch 'feat/transact-integration' into composer-integration
PatrickDinh Nov 5, 2025
9026768
Merge branch 'feat/transact-integration' into composer-integration
PatrickDinh Nov 5, 2025
d4ee22f
Merge branch 'feat/transact-integration' into composer-integration
PatrickDinh Nov 6, 2025
d2bcf37
fix types
PatrickDinh Nov 6, 2025
282cd24
reject version
PatrickDinh Nov 6, 2025
5459220
access list for method call
PatrickDinh Nov 6, 2025
e7bb6e2
wip - remove atc
PatrickDinh Nov 6, 2025
d93034f
wip - convert calls to atc to transaction composer
PatrickDinh Nov 7, 2025
8f9b54b
wip - remove atc - check types good
PatrickDinh Nov 7, 2025
b9d5634
Merge remote-tracking branch 'origin/decoupling' into composer-integr…
PatrickDinh Nov 8, 2025
e75fd10
oops missed one
PatrickDinh Nov 8, 2025
ecbde70
fix import paths
PatrickDinh Nov 8, 2025
7e5f07a
wip - fixing tests
PatrickDinh Nov 10, 2025
3057106
wip - tests
PatrickDinh Nov 10, 2025
91b936e
wip - refactor
PatrickDinh Nov 10, 2025
f3cfd44
wip - fix populate resources tests
PatrickDinh Nov 10, 2025
dbab59e
wip - fix tests
PatrickDinh Nov 10, 2025
bf13b88
wip - handle access references + error message
PatrickDinh Nov 10, 2025
51b7bc5
all tests pass, let's the refactoring begin
PatrickDinh Nov 10, 2025
3524674
wip - refactor
PatrickDinh Nov 11, 2025
6566a67
refactor
PatrickDinh Nov 11, 2025
bc611f8
wip - refactor - make decision on performAtomicTransactionComposerSim…
PatrickDinh Nov 11, 2025
58fdf36
wip - clone composer
PatrickDinh Nov 11, 2025
3e1826f
wip - refactor
PatrickDinh Nov 11, 2025
8eda032
enforce max group size
PatrickDinh Nov 11, 2025
1315f04
wip - fix prepareGroupForSending
PatrickDinh Nov 11, 2025
d09712d
wip - TODO
PatrickDinh Nov 11, 2025
f01f6ed
support addTransactionComposer + test
PatrickDinh Nov 12, 2025
ca7643c
oops, do not clear methodCalls
PatrickDinh Nov 12, 2025
3c7f613
wip - clean up TODOs
PatrickDinh Nov 12, 2025
4ec15a6
remove TransactionWithSigner from sdk
PatrickDinh Nov 12, 2025
66c6ba8
extract txns from the composer when `addTransactionComposer`
PatrickDinh Nov 12, 2025
05e5f9f
wip - PR review
PatrickDinh Nov 12, 2025
9177efa
fix error handling
PatrickDinh Nov 12, 2025
6cfb039
wip - review
PatrickDinh Nov 12, 2025
1d94a69
wip - split composer functions out
PatrickDinh Nov 12, 2025
1977bb3
add comment for methodCalls
PatrickDinh Nov 12, 2025
828740b
remove the term atomic
PatrickDinh Nov 12, 2025
c5693d1
eslint
PatrickDinh Nov 12, 2025
874ec31
fix box type
PatrickDinh Nov 12, 2025
4352eaf
update snapshot tests
PatrickDinh Nov 12, 2025
6f088dc
review migration guide
PatrickDinh Nov 12, 2025
568a34f
wip - more review
PatrickDinh Nov 13, 2025
e843cc4
some more refactor
PatrickDinh Nov 13, 2025
4cfba14
another round of review
PatrickDinh Nov 13, 2025
f52215e
apply the extra page fix
PatrickDinh Nov 13, 2025
f8a4283
delete files from sdk
PatrickDinh Nov 13, 2025
ed682ad
review notes
PatrickDinh Nov 13, 2025
d855cc7
wip - PR feedback
PatrickDinh Nov 17, 2025
163815f
pr review - refactor composer to hold maxFee for raw txns
PatrickDinh Nov 17, 2025
f16ced1
wip - pr feedback
PatrickDinh Nov 17, 2025
09000c2
wip - PR feedback
PatrickDinh Nov 17, 2025
af4c7c0
PR feedback - add fee coverage tests
PatrickDinh Nov 17, 2025
e97cf06
use shallow clone
PatrickDinh Nov 17, 2025
fc3c33d
wip - refactor build methods + simulate
PatrickDinh Nov 18, 2025
da2c47f
test snapshot
PatrickDinh Nov 18, 2025
f6c0c62
TODOs
PatrickDinh Nov 18, 2025
0bdabbe
wip - review
PatrickDinh Nov 19, 2025
fc1f2e0
wip - TODO
PatrickDinh Nov 19, 2025
d44e14a
more TODO
PatrickDinh Nov 19, 2025
a76eebe
review
PatrickDinh Nov 19, 2025
fc1ac3a
fix
PatrickDinh Nov 19, 2025
add078d
refactor + test
PatrickDinh Nov 20, 2025
1658920
fix performTransactionComposerSimulate
PatrickDinh Nov 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions MIGRATION-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,43 @@

A collection of random notes pop up during the migration process.

- TODO: review the retry logic
- const { lastRound: firstRound } = suggestedParams! // TODO: document suggested params doesn't have first round anymore
- explain the type differences between transact and algod
- remove waitForIndexer
- DO NOT remove it
- ATC was removed as a transaction type in the composer
- Fee calc inside the txn constructor
- error messages changed, for example, asset tests
- `AssetHoldingReference` replaced by `HoldingReference`
- `ApplicationLocalReference` replaced by `LocalsReference`
- BoxReference is gone too
- Error name is gone (snapshot tests updated)
- TODO: remove the ATC too
- TODO: add interface for breaking change, for example, Transaction
- TODO: simplify signer + account
- TODO: take notes of the legacy functions to be removed and communicate with devrels
- TODO: standardise box ref
- TODO: keep track of the changes we make to algokit_transact to fit with algosdk
- For integration with lora to work:
- need to update subscriber to use the new utils and remove algosdk
- TODO: go ahead with resource/fee on build. Need to have backward compatibility, when resource population is set in send, do it but make sure that it only happens once.
- `encodeUnsignedSimulateTransaction` was removed from sdk
- can't addatc into the composer anymore, can addTransactionComposer to composer. Adding composer is just cloning the txns from the param composer to the caller composer
- SendAtomicTransactionComposerResults.group is string | undefined
- buildTransactions will include the signer for nested txn now, this was done at the ATC before
- Discuss the inconsistency of transaction and txn, txIds, txID
- Disucss the naming of foreignApps vs appReferences + access references
- Discuss appCall vs applicationCall
- SourceMap was renamed to ProgramSourceMap
- OnApplicationComplete.UpdateApplicationOC was renamed to OnApplicationComplete.UpdateApplication
- ResourceReference (algod) vs AccessReference (utils)
- check for buffer polyfill
- transaction.ts
- sendTransaction takes composer
- getGroupExecutionInfo removed
- getAtomicTransactionComposerTransactions becomes async
- call composer .build instead of atc buildGroup. This will populate resources too
- suggestedParams was removed from AdditionalAtomicTransactionComposerContext
- generated app client will be changed, no references to atc anymore (this was for v2, confirm for v3)
- atc.parseMethodResponse was replaced by app-manager.getABIReturn
- transaction_asserts uses 'noble/ed25519' while composer uses nacl, which one should we use?
- additionalAtcContext was removed from AtomicTransactionComposerToSend
- ABI
- how to construct ABIStruct from string
- Make sure that the python utils also sort resources during resource population
- migration stratefy for EventType.TxnGroupSimulated in utils-ts-debug
- create BuildComposerTransactionsError error type
- TODO: docs for composer simulate workflow
- without calling `build` first => simulate without resource population
- call `build` -> resource population into transactions with signers -> simulate will use the transactions with signers
- review the names of SignedTransactionWrapper
12 changes: 6 additions & 6 deletions packages/sdk/src/abi/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from './abi_type.js';
export * from './contract.js';
export * from './interface.js';
export * from './method.js';
export * from './transaction.js';
export * from './reference.js';
export * from './abi_type.js'
export * from './contract.js'
export * from './interface.js'
export * from './method.js'
export * from './reference.js'
export * from './transaction.js'
Loading