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 a rainlang repl to the order page #850

Open
thedavidmeister opened this issue Sep 11, 2024 · 2 comments
Open

add a rainlang repl to the order page #850

thedavidmeister opened this issue Sep 11, 2024 · 2 comments
Assignees

Comments

@thedavidmeister
Copy link
Contributor

the debug stacks are nice, but being able to repl and do things like get to inspect storage values directly would be very helpful

@hardyjosh
Copy link
Contributor

This would require reconstructing the orderbook and order context and passing that into an eval for the order's deployer/store.

@thedavidmeister do we need full debugs for this? Or just the main stack we get back from eval? As in, do we need to do this on a fork or can we just ping the rpc directly?

This wouldn't be dotrain, it would just be pure rainlang, so only a single source.

The repl would need block number controls same as with quote - it would refresh to get latest block, pause to freeze at the current block, or input any specific block number.

@thedavidmeister
Copy link
Contributor Author

@hardyjosh only the main stack i think

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

No branches or pull requests

3 participants