Giter Club home page Giter Club logo

Comments (17)

nooomski avatar nooomski commented on May 24, 2024 2

Besides preferred channels we're good to get started on this, right? @jackzampolin how does legacy_channels sound to you?

from chain-registry.

sunnya97 avatar sunnya97 commented on May 24, 2024

What exactly is a trust hash in this case?

from chain-registry.

nooomski avatar nooomski commented on May 24, 2024

That would be the block header to prove from which chain data comes from, this was a suggestion by @jackzampolin

from chain-registry.

sunnya97 avatar sunnya97 commented on May 24, 2024

@nooomski I think that was independent; I believe that was for state sync

But I might be wrong, maybe relayers do need this

@jackzampolin can you confirm?

from chain-registry.

sunnya97 avatar sunnya97 commented on May 24, 2024

Resource to use: https://github.com/notional-labs/notional/blob/master/relaying-guide/rly/config.yaml

from chain-registry.

jackzampolin avatar jackzampolin commented on May 24, 2024

https://github.com/strangelove-ventures/relayer/tree/main/interchain

from chain-registry.

jackzampolin avatar jackzampolin commented on May 24, 2024

@sunnya97 relayers no longer need that but if they had it they could independently verify the veracity of the full node they are communicating with

from chain-registry.

jackzampolin avatar jackzampolin commented on May 24, 2024

I personally think the file hierarchy that @jtieri has in the interchain directory is the best way to store this info. We also don't need to store info on non-prefered channels.

from chain-registry.

nooomski avatar nooomski commented on May 24, 2024

@jackzampolin do you mean non-preferred channels? I think @sunnya97 made a good point that we need to specify these to keep them open while people remove tokens off these channels.

from chain-registry.

jackzampolin avatar jackzampolin commented on May 24, 2024

@nooomski afaik giving any kind of publicity to non-prefered channels will encourage usage. I don't think that information should be included

from chain-registry.

nooomski avatar nooomski commented on May 24, 2024

I see your point @jackzampolin . I'll let Sunny weigh in on this. Maybe we can schedule another call in the near term to go over this and make sure we can find agreement on some of the other issues as well :)

I know Adoriasoft wants to work on this and has some questions about some issues that I'd love to discuss with you both.

from chain-registry.

sunnya97 avatar sunnya97 commented on May 24, 2024

I feel we should still have something somewhere that lists the non-preferred channel, if only to send a heartbeat until people remove tokens form them? Cause would suck to have tokens lost that way

from chain-registry.

sunnya97 avatar sunnya97 commented on May 24, 2024

@jackzampolin which one is the interchain repo? I'll take a look at that

from chain-registry.

nooomski avatar nooomski commented on May 24, 2024

Maybe just changing the language to legacy_channels would be sufficient to discourage usage?

from chain-registry.

jtieri avatar jtieri commented on May 24, 2024

@sunnya97
we have aggregated canonical path and chain data here https://github.com/cosmos/relayer/tree/master/interchain

Most of this data came from https://mapofzones.com/zone?period=24&source=akashnet-2&tableOrderBy=success&tableOrderSort=desc&testnet=false, the Osmosis integrators TG group and the Notional config files previously linked aboove

from chain-registry.

adizere avatar adizere commented on May 24, 2024

Beside channels, on a longer-term basis, it might be ideal to include the following additional information relevant for IBC relayers:

  • the connection and clients underlying a high-value channel
  • preferred/max fees, denom name, slip44
  • account prefix
  • max_tx_size (depends on genesis file of the network)
  • clock drift and max block time (for IBC clients, depends on the block frequency of the network)

Maybe just changing the language to legacy_channels would be sufficient to discourage usage?

+1

For the question of having a single/global IBC.json file versus per-chain file: Maintaining a file with hundreds of entries (currently there are ~20 IBC chains and 2 DEX-es, so ~80 channel ends) seems daunting, but not sure if there are other pro/con arguments for the global IBC.json file.

Currently not sure how to automatically populate these, but we need this file and start adding them manually at first.

For automation: an option is https://www.mintscan.io/cosmos/relayers -- either crawling the HTML here, or using the mintscan API, or partnering with the MintScan team to give us an API if there isn't a public one already.

from chain-registry.

JeremyParish69 avatar JeremyParish69 commented on May 24, 2024

It has been agreed upon how to handle IBC data in #379

from chain-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.