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

Add safeguard for transaction type #29

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

ryanleung
Copy link
Contributor

@ryanleung ryanleung commented Feb 26, 2024

The current flow assumes that everything that isn't a "balance" type is a "transfer" type. This is dangerous since the AI isn't deterministic - we add a safeguard to make sure we are checking for the transfer type. We will be adding more actions than 'balance' and 'transfer' (e.g. address), so this is the pre-work to that.

Copy link
Contributor

@betterbrand betterbrand left a comment

Choose a reason for hiding this comment

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

looks good @ryanleung

@betterbrand betterbrand merged commit 9874a28 into MorpheusAIs:development Feb 26, 2024
3 checks passed
@ryanleung ryanleung deleted the ryanleung-safeguard branch February 26, 2024 16:06
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