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

feat: add move entry function for verify attestation #20870

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

joyqvq
Copy link
Contributor

@joyqvq joyqvq commented Jan 13, 2025

Description

Describe the changes or additions included in this PR.

Test plan

───────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Transaction Effects                                                                               │
├───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Digest: EKi3SxAAXzXUTn56MoKKDtXtYdbkcXY94LsWsEZ4o5ZN                                              │
│ Status: Success                                                                                   │
│ Executed Epoch: 6                                                                                 │
│ Mutated Objects:                                                                                  │
│  ┌──                                                                                              │
│  │ ID: 0x101c1e40e8f59302bc8673f3acf71066dcce5939b10c6accb3b4cd6036f46e04                         │
│  │ Owner: Account Address ( 0xfa469d15a399f7a000214f4630712c6e6207430499278e1c2e19a63d5dd821e5 )  │
│  │ Version: 4806                                                                                  │
│  │ Digest: HnMUEn3UmuLoL9Ph1kiNuec1XByvgmKFv6CuBKGi8Eez                                           │
│  └──                                                                                              │
│ Shared Objects:                                                                                   │
│  ┌──                                                                                              │
│  │ ID: 0x0000000000000000000000000000000000000000000000000000000000000006                         │
│  │ Version: 4805                                                                                  │
│  │ Digest: 3kSQomS162h2h3DWAqjhbmMeHjtokVA3kewaYV66zdiA                                           │
│  └──                                                                                              │
│ Gas Object:                                                                                       │
│  ┌──                                                                                              │
│  │ ID: 0x101c1e40e8f59302bc8673f3acf71066dcce5939b10c6accb3b4cd6036f46e04                         │
│  │ Owner: Account Address ( 0xfa469d15a399f7a000214f4630712c6e6207430499278e1c2e19a63d5dd821e5 )  │
│  │ Version: 4806                                                                                  │
│  │ Digest: HnMUEn3UmuLoL9Ph1kiNuec1XByvgmKFv6CuBKGi8Eez                                           │
│  └──                                                                                              │
│ Gas Cost Summary:                                                                                 │
│    Storage Cost: 988000 MIST                                                                      │
│    Computation Cost: 1000000 MIST                                                                 │
│    Storage Rebate: 978120 MIST                                                                    │
│    Non-refundable Storage Fee: 9880 MIST                                                          │
│                                                                                                   │
│ Transaction Dependencies:                                                                         │
│    ogFZK8yeyj8aW65KfjpydBxQza1DDEMaUorTVAk3FGT                                                    │
│    8HLYAqCnZ4FhfPcAFaWAXwjL6f8bzmkgqJDySoEotAsm                                                   │
│    E78irqocBhce6W6cqontHowPRRdAwCdNRak75tMPh4MK                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────╮
│ No transaction block events │
╰─────────────────────────────╯

╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Object Changes                                                                                   │
├──────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Mutated Objects:                                                                                 │
│  ┌──                                                                                             │
│  │ ObjectID: 0x101c1e40e8f59302bc8673f3acf71066dcce5939b10c6accb3b4cd6036f46e04                  │
│  │ Sender: 0xfa469d15a399f7a000214f4630712c6e6207430499278e1c2e19a63d5dd821e5                    │
│  │ Owner: Account Address ( 0xfa469d15a399f7a000214f4630712c6e6207430499278e1c2e19a63d5dd821e5 ) │
│  │ ObjectType: 0x2::coin::Coin<0x2::sui::SUI>                                                    │
│  │ Version: 4806                                                                                 │
│  │ Digest: HnMUEn3UmuLoL9Ph1kiNuec1XByvgmKFv6CuBKGi8Eez                                          │
│  └──                                                                                             │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭───────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Balance Changes                                                                                   │
├───────────────────────────────────────────────────────────────────────────────────────────────────┤
│  ┌──                                                                                              │
│  │ Owner: Account Address ( 0xfa469d15a399f7a000214f4630712c6e6207430499278e1c2e19a63d5dd821e5 )  │
│  │ CoinType: 0x2::sui::SUI                                                                        │
│  │ Amount: -1009880                                                                               │
│  └──                                                                                              │
╰───────────────────────────────────────────────────────────────────────────────────────────────────╯

sui replay:

     Running `target/debug/sui-tool replay --cfg-path /Users/joy/.sui/sui_config/client.yaml --rpc 'http://127.0.0.1:9000' tx --tx-digest EKi3SxAAXzXUTn56MoKKDtXtYdbkcXY94LsWsEZ4o5ZN`
2025-01-14T02:24:05.515413Z  INFO sui_replay: Executing tx: EKi3SxAAXzXUTn56MoKKDtXtYdbkcXY94LsWsEZ4o5ZN
2025-01-14T02:24:05.515867Z  INFO sui_replay::replay: Using RPC URL: http://127.0.0.1:9000
Execution finished successfully. Local and on-chain effects match.
image

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol: Add a new native function to verify AWS Nitro Enclaves attestation in Devnet.
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

Copy link

vercel bot commented Jan 13, 2025

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

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 8:43pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Feb 6, 2025 8:43pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Feb 6, 2025 8:43pm

@joyqvq joyqvq force-pushed the joy/attestation branch 4 times, most recently from fe48069 to 0808288 Compare January 15, 2025 20:06
@joyqvq joyqvq force-pushed the joy/move-attestation branch from b723402 to dd15b47 Compare January 15, 2025 20:14
@joyqvq joyqvq temporarily deployed to sui-typescript-aws-kms-test-env January 15, 2025 20:14 — with GitHub Actions Inactive
@joyqvq joyqvq force-pushed the joy/move-attestation branch from dd15b47 to 844babe Compare January 15, 2025 20:32
@joyqvq joyqvq temporarily deployed to sui-typescript-aws-kms-test-env January 15, 2025 20:32 — with GitHub Actions Inactive
@joyqvq joyqvq temporarily deployed to sui-typescript-aws-kms-test-env January 16, 2025 15:25 — with GitHub Actions Inactive
@joyqvq joyqvq force-pushed the joy/attestation branch 2 times, most recently from ae78b72 to 4079db6 Compare January 16, 2025 16:46
Base automatically changed from joy/attestation to main January 16, 2025 17:16
@joyqvq joyqvq force-pushed the joy/move-attestation branch from 279ca0f to 958992f Compare January 16, 2025 17:44
@joyqvq joyqvq temporarily deployed to sui-typescript-aws-kms-test-env January 16, 2025 17:44 — with GitHub Actions Inactive
Copy link
Contributor

@benr-ml benr-ml left a comment

Choose a reason for hiding this comment

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

Looks good, let's update the snapshots.
Also, let's change to entry fun load_nitro_attestation?

@joyqvq joyqvq force-pushed the joy/move-attestation branch from 291fc02 to 1d4b755 Compare February 6, 2025 20:42
@joyqvq joyqvq temporarily deployed to sui-typescript-aws-kms-test-env February 6, 2025 20:42 — with GitHub Actions Inactive
@joyqvq joyqvq enabled auto-merge (squash) February 6, 2025 20:43
@joyqvq joyqvq merged commit 42dd085 into main Feb 6, 2025
47 checks passed
@joyqvq joyqvq deleted the joy/move-attestation branch February 6, 2025 21:18
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.

4 participants