-
Notifications
You must be signed in to change notification settings - Fork 8
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
App deprecation #310
Merged
Merged
App deprecation #310
Conversation
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
BREAKING CHANGE: Renamed `clearProgram` to `clearStateProgram` and `extraPages` to `extraProgramPages` in `AlgoKitComposer` to match algod api
robdmoore
force-pushed
the
app-deprecation
branch
from
September 1, 2024 06:10
3858b8c
to
27ef462
Compare
chore: Updated tests to remove calls to deprecated functions
robdmoore
force-pushed
the
app-deprecation
branch
from
September 1, 2024 07:44
27ef462
to
5ac5b3a
Compare
robdmoore
force-pushed
the
app-deprecation
branch
from
September 2, 2024 09:40
5c510a7
to
b59c336
Compare
neilcampbell
approved these changes
Sep 4, 2024
robdmoore
force-pushed
the
app-deprecation
branch
from
September 4, 2024 10:43
c1b9f8b
to
f90bf97
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follows on from #291
Breaking changes:
clearProgram
toclearStateProgram
andextraPages
toextraProgramPages
inAlgoKitComposer
to match algod apiDeprecations:
createApp
->algorand.send.appCreate()
/algorand.transactions.appCreate()
/algorand.send.appCreateMethodCall()
/algorand.transactions.appCreateMethodCall()
updateApp
->algorand.send.appUpdate()
/algorand.transactions.appUpdate()
/algorand.send.appUpdateMethodCall()
/algorand.transactions.appUpdateMethodCall()
callApp
->algorand.send.appUpdate()
/algorand.transactions.appUpdate()
/algorand.send.appUpdateMethodCall()
/algorand.transactions.appUpdateMethodCall()
deployApp
->algorand.appDeployer.deploy
getCreatorAppsByName
->algorand.appDeployer.getCreatorAppsByName
getABIReturn
->AppManager.getABIReturn
getAppGlobalState
->(await appManager.getById(appId)).globalState
getAppLocalState
->algorand.app.getLocalState
getAppBoxNames
->algorand.app.getBoxNames
getAppBoxValue
->algorand.app.getBoxValue
getAppBoxValues
->algorand.app.getBoxValues
getAppBoxValueFromABIType
->algorand.app.getAppBoxValueFromABIType
getBoxValueFromABIType
->algorand.app.getAppBoxValuesFromABIType
decodeAppState
->AppManager.decodeAppState
getBoxReference
->AppManager.getBoxReference
getAppById
->algorand.app.getById
compileTeal
->algorand.app.compileTeal
performTemplateSubstitutionAndCompile
->algorand.appManager.compileTealTemplate
replaceDeployTimeControlParams
->AppManager.replaceTealTemplateDeployTimeControlParams
performTemplateSubstitution
->AppManager.replaceTealTemplateParams
stripTealComments
->AppManager.stripTealComments
getAppOnCompleteAction
->algosdk.OnApplicationComplete
getABIMethodSignature
->abiMethod.getSignature()
/new ABIMethod(abiMethodParams).getSignature()
getAppArgsForTransaction
getAppArgsForABICall
isSchemaIsBroken
getAppDeploymentTransactionNote
Updates:
AlgoKitComposer
related to handling app call transactionsbuild
onAlgoKitComposer
now returns ABI method call objects for transactions that had them so you can resolve ABI return valuesNew functionality:
AppManager
class andalgorand.app
AppDeployer
class andalgorand.appDeployer
AlgoKitComposer.arc2Note
to allow constructing an ARC-2 transaction notecount
method inAlgoKitComposer
to support retrieving current number of transactionsbuildTransactions
method inAlgoKitComposer
to support building transactions without needing a signer present and switched to using that fromalgorand.transactions
populateAppCallResources
toAlgoKitComposer
algorand.client.indexerIfPresent
so you can optionally retrieve indexer if it's presentalgorand.send/transactions.{appMethods}
for the following methods:appCreate
,appCreateMethodCall
,appUpdate
,appUpdateMethodCall
,appDelete
,appDeleteMethodCall
,appCall
,appCallMethodCall
and correspondingaddX
methods inAlgoKitComposer
/algorand.newGroup()
AppManager
instance)AppDeployer
instance)