Skip to content
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

Rejig ao SDK around new DataItem conventions #117

Merged
merged 11 commits into from
Oct 20, 2023
Merged

Conversation

TillaTheHun0
Copy link
Member

@TillaTheHun0 TillaTheHun0 commented Oct 20, 2023

This PR:

  • Renames createContract to createProcess
  • Renames writeInteraction to writeMessage
  • contractId inputs have now been changed to instead be processId
  • Removes registering the process with the Warp Gateway, upon creation.
  • Refactors implementations to follow new ao conventions ie. adding proper tags, using only DataItems, and removing Smart Contract conventions

Changes to the MU still have to be made, which is next on the list

Until we have some new ao Processes floating around, I have disabled the integration tests on CI

Closes #93

remove unused code in client impls

BREAKING CHANGE: instead of contractId, public apis will instead accept
processId. createContract has been renamed to createProcess. readState
now accepts processId instead of contractId
update docs. Replace all usage of interaction with message

BREAKING CHANGE: writeInteraction is renamed to writeMessage. writeMessage
accepts processId instead of contractId
@TillaTheHun0 TillaTheHun0 merged commit aa176ff into main Oct 20, 2023
@TillaTheHun0 TillaTheHun0 deleted the tillathehun0/sdk-93 branch October 20, 2023 15:49
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.

Implement New ao SDK logic based on new "Data-Item" Centric rules
1 participant