Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Hyperlane natives fixes#1362

Merged
edmundnoble merged 1 commit intomasterfrom
ak3n/hyperlane-native-add-chainid
Jun 14, 2024
Merged

Hyperlane natives fixes#1362
edmundnoble merged 1 commit intomasterfrom
ak3n/hyperlane-native-add-chainid

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented May 7, 2024

The corresponding chainweb PR: kadena-io/chainweb-node#1901

PR checklist:

  • Test coverage for the proposed changes
  • PR description contains example output from repl interaction or a snippet from unit test output
  • New builtins have a FV translation
  • Documentation has been (manually) updated at https://docs.kadena.io/pact
  • Any changes that could be relevant to users have been recorded in the changelog
  • In case of changes to the Pact trace output (pact -t), make sure pact-lsp is in sync.

Additionally, please justify why you should or should not do the following:

  • Confirm replay/back compat
  • Benchmark regressions
  • (For Kadena engineers) Run integration-tests against a Chainweb built with this version of Pact

@ghost ghost force-pushed the ak3n/hyperlane-native-add-chainid branch 2 times, most recently from 6d63502 to f66ec93 Compare May 7, 2024 17:02
@ghost ghost force-pushed the ak3n/hyperlane-native-add-chainid branch 5 times, most recently from 583d721 to 20bc897 Compare June 7, 2024 12:25
@ghost ghost marked this pull request as ready for review June 7, 2024 12:49
@ghost ghost requested review from emilypi, jmcardon and jwiegley as code owners June 7, 2024 12:49
@ghost ghost force-pushed the ak3n/hyperlane-native-add-chainid branch 2 times, most recently from aad50db to f1d39bf Compare June 12, 2024 20:00
@chessai chessai force-pushed the ak3n/hyperlane-native-add-chainid branch 2 times, most recently from bd493fb to d5789b5 Compare June 13, 2024 19:32
@chessai chessai force-pushed the ak3n/hyperlane-native-add-chainid branch from d5789b5 to 468d64c Compare June 13, 2024 21:03

return decoded

parseChainId :: forall a. (a ~ Word16) => Text -> Either HyperlaneError a
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if this has to be a Word16, why is this an equality constraint?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

refactoring purposes with show, i just wanted to write a everywhere. but you're right it's probably not worth it.

Signed-off-by: Evgenii Akentev <[email protected]>
Change-Id: I8f09e97090ae3fbe32bbe0339414ef175d987800
@chessai chessai force-pushed the ak3n/hyperlane-native-add-chainid branch from 468d64c to 02e1f61 Compare June 14, 2024 15:31
@edmundnoble edmundnoble merged commit 4c0acc5 into master Jun 14, 2024
@edmundnoble edmundnoble deleted the ak3n/hyperlane-native-add-chainid branch June 14, 2024 15:34
@rsoeldner rsoeldner mentioned this pull request Jul 2, 2024
6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants