sui icon indicating copy to clipboard operation
sui copied to clipboard

Update graphql e2e tests to protocol version 45

Open halfprice opened this issue 1 year ago • 2 comments

Description

This PR updates graphql e2e tests' protocol version to 45.

It also adds a script update-graphql-e2e-test-protocol-version.py that search through move code with specific protocol version, and replace it with new version. To use it:

python3 update_graphql_e2e_test_protocol_version.py [--yes-to-all] [--dry-run]

And then follow the prompts. It only updates the protocol version in move files now. To update the snapshot, one also needs to run

env UB=1 cargo nextest run --features pg_integration inside crates/sui-graphql-e2e-tests.

afterwards (with postgres running).

Test plan

Test only updates.


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:
  • [ ] Nodes (Validators and Full nodes):
  • [ ] Indexer:
  • [ ] JSON-RPC:
  • [ ] GraphQL:
  • [ ] CLI:
  • [ ] Rust SDK:

halfprice avatar May 19 '24 19:05 halfprice

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 May 21, 2024 1:18am

vercel[bot] avatar May 19 '24 19:05 vercel[bot]

@halfprice is attempting to deploy a commit to the Mysten Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 19 '24 19:05 vercel[bot]