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

create-vault now works again #5

Merged
merged 5 commits into from
Mar 6, 2025

Conversation

melondotdev
Copy link
Collaborator

No description provided.

Copy link
Owner

@GabrielCartier GabrielCartier left a comment

Choose a reason for hiding this comment

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

will remove the useless stuff, good you got it working!


// Send the raw transaction
console.log('Sending raw transaction...');
const hash = await walletClient.sendRawTransaction({
Copy link
Owner

Choose a reason for hiding this comment

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

weird you have to do it that way, i might add a todo but if it works, 👍


// Log the transaction receipt for debugging
elizaLogger.info('Successfully created vault', {
contractAddress: receipt.contractAddress,
});

// TODO Add viem parsing here
Copy link
Owner

Choose a reason for hiding this comment

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

don't like my todo? :(

Basically if we parse the logs with viem we can get typing, minor anwyay

@@ -1,2 +1,2 @@
export { depositAction } from './silo-deposit';
export { createVaultAction } from './create-vault-test';
Copy link
Owner

Choose a reason for hiding this comment

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

oopsie daisy, my bad!

@GabrielCartier GabrielCartier merged commit 6c1dcfd into feature/sonic-plugin Mar 6, 2025
@GabrielCartier GabrielCartier deleted the feature/create-vault branch March 6, 2025 13:57
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