-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
There was a problem hiding this 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({ |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oopsie daisy, my bad!
No description provided.