-
Notifications
You must be signed in to change notification settings - Fork 2
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
local fake chain nodes #140
Conversation
In future, please clean up old branches! I was trying to get bp/realfakenode to work only to realize this branch is actually bp/realfakenodes with an |
note I do not have 8080 occupied |
I think the problem is the |
Changing them to |
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.
I'm surprised how little code had to change: very cool for such a big functionality unlock!
Added some comments, please address/discuss. Let's get the Kinode core PR working and then I'll test.
fixed by: kinode-dao/kinode@c4227b4 ! |
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.
Going to test now
EDIT: Ignore; I was on wrong branch again 😔
|
EDIT: Ignore; I was on wrong branch again 😔
|
EDIT: Ignore; I was on wrong branch again 😔 |
kinostate: hash cached filename
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.
Some small comments + the select
question. Almost there!
Really nice work @bitful-pannul . This is a huge step forward in functionality. More work to do to make it even coolers (e.g., making it possible/easy to send TXs, etc), but this is a big unlock |
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.
🚀
Problem
fakenode networking not using internal components or chain indexing.
Solution
boot a fakechain in kit (foundry::anvil), and have kns_indexer conditionally index on local chain 31337 instead of optimism.
Docs Update
running instructions:
have updated kit and runtime PR branch
kit f --runtime-path ~/yo/runtime (will boot fakechain on port 8545 if doesn't exist and register fake.dev)
kit f --runtime-path ~/yo/runtime --fake-node-name second (registers second.dev)
Corresponding docs PR
Notes
simulation mode runtime flag for processes rather than during buildtime?
TODO in runtime: