Skip to content

Conversation

@ehegnes
Copy link
Contributor

@ehegnes ehegnes commented May 3, 2025

No description provided.

Signed-off-by: Eric Hegnes <[email protected]>
@ehegnes ehegnes requested a review from benluelo as a code owner May 3, 2025 06:25
@vercel
Copy link

vercel bot commented May 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
site ⬜️ Ignored (Inspect) May 3, 2025 6:25am

/// Instantiate `ucs03-zkgm`.
///
/// This will instantiate the minter contract with the provided [`TokenMinterInitMsg`][crate::msg::TokenMinterInitMsg]. The admin of the minter contract is set to `ucs03-zkgm`. All migrations for the minter will be threaded through the `ucs03-zkgm` migrate entrypoint.
/// This will instantiate the minter contract with the provided [`ucs03_zkgm_token_minter_api::TokenMinterInitMsg`]. The admin of the minter contract is set to `ucs03-zkgm`. All migrations for the minter will be threaded through the `ucs03-zkgm` migrate entrypoint.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// This will instantiate the minter contract with the provided [`ucs03_zkgm_token_minter_api::TokenMinterInitMsg`]. The admin of the minter contract is set to `ucs03-zkgm`. All migrations for the minter will be threaded through the `ucs03-zkgm` migrate entrypoint.
/// This will instantiate the minter contract with the provided [`TokenMinterInitMsg`][ucs03_zkgm_token_minter_api::TokenMinterInitMsg]. The admin of the minter contract is set to `ucs03-zkgm`. All migrations for the minter will be threaded through the `ucs03-zkgm` migrate entrypoint.

client_id: ClientId,
},
/// NOTE: Reads state through the [`QueryStore`].
/// NOTE: Reads state through the `ibc_union::state::QueryStore`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// NOTE: Reads state through the `ibc_union::state::QueryStore`.
/// NOTE: Reads state through the `QueryStore`.

path: Bytes,
},
/// NOTE: Reads state through the [`QueryStore`].
/// NOTE: Reads state through the `ibc_union::state::QueryStore`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// NOTE: Reads state through the `ibc_union::state::QueryStore`.
/// NOTE: Reads state through the `QueryStore`.

relayer: String,
},
/// TODO: Should read state through the [`QueryStore`].
/// TODO: Should read state through the `ibc_union::state::QueryStore`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// TODO: Should read state through the `ibc_union::state::QueryStore`.
/// TODO: Should read state through the `QueryStore`.

use unionlabs_primitives::ByteArrayExt;

/// The slot containing [`_latestNodeCreated`].
/// The slot containing [`_latestNodeCreated`](https://github.com/OffchainLabs/nitro-contracts/blob/90037b996509312ef1addb3f9352457b8a99d6a6/src/rollup/RollupCore.sol#L62).
Copy link
Contributor

Choose a reason for hiding this comment

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

why? just fix the link instead:

    /// [`_latestNodeCreated`]: https://github.com/OffchainLabs/nitro-contracts/blob/90037b996509312ef1addb3f9352457b8a99d6a6/src/rollup/RollupCore.sol#L62
                              ^ here

Comment on lines +92 to +93
/// [`crate::Callback::AggregateSubmitTxFromOrderedHeaders`] message, which will
/// be used to build the actual [`unionlabs::ibc::core::client::msg_update_client::MsgUpdateClient`]s.
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment here

/// Use [`nodes()`] to calculate the slot for the mapping.
///
/// [`_nodes`] https://github.com/OffchainLabs/nitro-contracts/blob/90037b996509312ef1addb3f9352457b8a99d6a6/src/rollup/RollupCore.sol#64
/// Use `nodes()` to calculate the slot for the mapping.
Copy link
Contributor

Choose a reason for hiding this comment

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

this should link to rollup_core_nodes_confirm_data_slot

}

/// Given an [`OrderedMsgUpdateClients`], returns [`Op`]s that generate [`IbcMessage`]s with proofs at the highest height of the updates.
/// Given an `OrderedMsgUpdateClients`, returns [`Op`]s that generate `IbcMessage`s with proofs at the highest height of the updates.
Copy link
Contributor

Choose a reason for hiding this comment

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

keep the links but include the full path to types not already in scope


// REVIEW: We probably want to add a way to have "a packet timed out" be a variant here as well
/// A subset of [`FullEvent`], containing only events that cause an action on the counterparty chain.
/// A subset of [`ibc_classic_spec::FullEvent`], containing only events that cause an action on the counterparty chain.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// A subset of [`ibc_classic_spec::FullEvent`], containing only events that cause an action on the counterparty chain.
/// A subset of [`FullEvent`][ibc_classic_spec::FullEvent], containing only events that cause an action on the counterparty chain.


// REVIEW: We probably want to add a way to have "a packet timed out" be a variant here as well
/// A subset of [`FullEvent`], containing only events that cause an action on the counterparty chain.
/// A subset of [`ibc_union_spec::event::FullEvent`], containing only events that cause an action on the counterparty chain.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// A subset of [`ibc_union_spec::event::FullEvent`], containing only events that cause an action on the counterparty chain.
/// A subset of [`FullEvent`][ibc_union_spec::event::FullEvent], containing only events that cause an action on the counterparty chain.

@unionlabs unionlabs deleted a comment May 3, 2025
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.

3 participants