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

feat: flow update generate object #929

Merged
merged 6 commits into from
Dec 11, 2024

Conversation

btspoony
Copy link
Contributor

@btspoony btspoony commented Dec 9, 2024

Relates to:

#920

Risks

Low

Background

What does this PR do?

What kind of change is this?

Improvements (misc. changes to existing features)

Why are we doing this? Any context or related work?

Only prompt tuning, flow transaction script optimization, and using generateObjectArray to replace generateObjectDEPRECATED

Documentation changes needed?

None

Testing

Where should a reviewer start?

Detailed testing steps

None, automated tests are fine.

Discord username

bt.wood

let addressableCap = signer.capabilities.storage.issue<&EVM.CadenceOwnedAccount>(storagePath)
signer.capabilities.unpublish(publicPath)
signer.capabilities.publish(addressableCap, at: publicPath)
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

everything in this PR looks good but I don't feel qualified to review this portion

Copy link
Contributor Author

@btspoony btspoony Dec 10, 2024

Choose a reason for hiding this comment

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

Oh, it is Flow blockchain dedicated transaction optimization to avoid EVM coa resource is nil.
If we only look at the semantics and not the grammar, i think its intention is clear.

@btspoony btspoony force-pushed the tbh/flow-update-generateObject branch from 1c65758 to 9059d9c Compare December 11, 2024 02:18
@odilitime odilitime merged commit 197a119 into elizaOS:main Dec 11, 2024
3 checks passed
@btspoony btspoony deleted the tbh/flow-update-generateObject branch December 11, 2024 16:28
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.

2 participants