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

Source search doesn't work with default parameters #40

Open
ya7on opened this issue Jan 7, 2025 · 0 comments · May be fixed by #43
Open

Source search doesn't work with default parameters #40

ya7on opened this issue Jan 7, 2025 · 0 comments · May be fixed by #43
Labels
invalid This doesn't seem right

Comments

@ya7on
Copy link
Member

ya7on commented Jan 7, 2025

There is first argument in TON Verifier registry smart contract. It's registry id. In ton verifier SDK it's set to sha256 of "orbs.com", but it doesn't work with this value. I took value from verifier.ton.org and hardcoded it. Now it work, but it seems it's not good. Maybe application should take this value from another query to verifier smart contract.

// {
// type: "int",
// value: bigIntFromBuffer(await sha256("orbs.com"))
// },
{ // TODO ?
type: "int",
value: 17676787183715497356968962353312138049121632594906749996652211766711021743417n
},

UPD: In blueprint repo there is verifier cli command. And in it's code there is different registry_id value for testnet.
orbs.com for mainnet
orbs-testnet for testnet

@ya7on ya7on added the invalid This doesn't seem right label Jan 7, 2025
@ya7on ya7on linked a pull request Jan 10, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant