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

🗞️ solana cli debugging tasks #1327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ryandgoulding
Copy link
Contributor

No description provided.

@ryandgoulding ryandgoulding requested review from a team February 25, 2025 17:20
@nazreen
Copy link
Contributor

nazreen commented Feb 25, 2025

@ryandgoulding , super excited for this PR as I was wishing for something similar and wanted to work on it.

I think there's a need for a single command that we could ask partners to run that they can then copy the output of to share with us, which would save a lot of back and forth.

Could we maybe have only one hardhat task, either with the name lz:oft:solana:debug or lz:oft:debug with flags that would make the checks more narrow ?

i.e. Running lz:oft:debug by default would print all the following:

  • all contracts' state (for Solana this is OFT Store) but pre-filtered only to most important values (this of course does not necessarily need to be achieved by this PR)

and running ``lz:oft:debug --solana` would only print the solana related output

alternatively, if you think the above is overkill (I was thinking we should try to give feature parity on the EVM side)

then just lz:oft:solana:debug that outputs (for now) the same info as the 3 separate tasks currently in this PR

this can later be expanded to also check whether PeerConfig accounts are already created for the Solana OFT's peers among other things

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