Skip to content

Conversation

barraguda
Copy link
Contributor

@barraguda barraguda commented Jun 5, 2024

WIP.

notes:

  • current setting of ip, port and pubkey takes 3 txs. Quick on local, but will be a single multicall once we get it into the contracts. [x]
  • no sending KnsUpdates to net:sys yet, need to determine when we've indexed enough logs to determine a node "complete" to send to net [x]
  • separate core process that indexes all notes and their values? (I suspect a better approach would be a process that has good library functions, and can index/subscribe on demand instead)
  • currently registering a name will not include it's .dev/.os top level zone. This is due to how kit loads state from json, and it doesn't include events (that the kns_indexer should pick up). This is an open anvil issue that I might take a look at to fix, or we have to reconsider fakenet approach [x]

Copy link
Contributor

Choose a reason for hiding this comment

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

all of these individual js asset files really really need to be compressed if you're going to commit them. we'll need to squash merge this PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, same case for register_ui ones.. there are too many anyway, looking into compressing soon

Comment on lines 78 to +85
pub fn app_store_filter(state: &State) -> eth::Filter {
let notes = vec![keccak256("~metadata-uri"), keccak256("~metadata-hash")];

eth::Filter::new()
.address(eth::Address::from_str(&state.contract_address).unwrap())
.from_block(state.last_saved_block)
.events(EVENTS)
.topic3(notes)
Copy link
Contributor

Choose a reason for hiding this comment

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

this is so cool

@dr-frmr dr-frmr changed the title 0.9 kimap Develop 0.9 Jul 5, 2024
@dr-frmr dr-frmr marked this pull request as ready for review July 5, 2024 19:22
@dr-frmr dr-frmr changed the title Develop 0.9 Kinomap Jul 5, 2024
Copy link
Contributor

@dr-frmr dr-frmr left a comment

Choose a reason for hiding this comment

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

LGTM

@dr-frmr dr-frmr merged commit e7ca58c into develop Jul 5, 2024
@dr-frmr dr-frmr deleted the bp/kinomap branch July 5, 2024 21:06
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