Skip to content

NONEVM-4809: fast curse#400

Open
FelixFan1992 wants to merge 71 commits into
developfrom
fast-curse-prototype-clean
Open

NONEVM-4809: fast curse#400
FelixFan1992 wants to merge 71 commits into
developfrom
fast-curse-prototype-clean

Conversation

@FelixFan1992

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

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.

Pull request overview

This PR introduces a “fast curse” path for ccip::rmn_remote by adding a new CurserCap capability that allows curse-only operations without granting OwnerCap authority, along with MCMS entrypoints to use and bootstrap this capability via separate (fast/slow) MCMS registries.

Changes:

  • Add CurserCap plus new curse_with_curser_cap / curse_multiple_with_curser_cap functions and shared curse insertion logic in ccip::rmn_remote.
  • Add fast-MCMS callbacks that curse using a CurserCap, and slow-MCMS bootstrap wrappers to mint/register the cap into a fast registry.
  • Extend Move unit tests and regenerate Go bindings to cover/consume the new public APIs.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
contracts/ccip/ccip/sources/rmn_remote.move Adds CurserCap capability, new curse entrypoints using it, and MCMS callbacks/wrappers for fast-curse flows.
contracts/ccip/ccip/tests/rmn_remote_tests.move Adds direct and MCMS-based unit tests for the CurserCap fast-curse flows and bootstrap procedures.
bindings/generated/ccip/ccip/rmn_remote/rmn_remote.go Regenerates bindings to include new CurserCap-related functions and types.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread contracts/ccip/ccip/tests/rmn_remote_tests.move

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 27 out of 28 changed files in this pull request and generated 5 comments.

Comment thread deployment/changesets/cs_register_curser_cap.go
Comment thread deployment/changesets/cs_register_curser_cap.go
Comment thread deployment/changesets/cs_register_curser_cap.go
Comment thread deployment/changesets/cs_curse_uncurse.go Outdated
Comment thread deployment/ops/rmn/op_curser_cap.go
FelixFan1992 and others added 7 commits June 9, 2026 19:07
* nonevm-5255: check for errors before memory allocation

* address feedback

* more checks

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Faisal <faisal.altameemi@smartcontract.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* NONEVM-5258: billing for Sui => Sui

* fix tests

* fi

* fix
Base automatically changed from chore/e2e-tests to develop June 10, 2026 19:48

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 101 out of 104 changed files in this pull request and generated 3 comments.

Comment thread deployment/view/mcms.go Outdated
Comment thread deployment/ops/mcms/op_deploy_fast.go Outdated
Comment thread contracts/scripts/test.sh
@FelixFan1992 FelixFan1992 requested a review from Copilot June 11, 2026 18:47
@FelixFan1992 FelixFan1992 marked this pull request as ready for review June 11, 2026 18:50
@FelixFan1992 FelixFan1992 requested a review from a team as a code owner June 11, 2026 18:50

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 104 out of 107 changed files in this pull request and generated 2 comments.

Comment thread bindings/mcms_encoder.go Outdated
Comment thread contracts/scripts/test.sh

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 104 out of 107 changed files in this pull request and generated 2 comments.

Comment on lines +196 to +199
#[test_only]
public fun test_init(ctx: &mut TxContext) {
init(MCMS_DEPLOYER {}, ctx);
}
Comment thread contracts/scripts/test.sh
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