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

[chore] Disable Move warnings for test config #18168

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

tnowacki
Copy link
Contributor

Description

  • BuildConfig::new_for_testing now suppresses all warnings
  • Should not affect unit tests or transactional tests
  • I found one usage in sui-surfer that likely shouldn't want new_for_testing, but still maybe wants warning suppression

Test plan

  • 👀

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:

@tnowacki tnowacki requested review from lxfind, mystenmark and a team June 10, 2024 20:34
Copy link

vercel bot commented Jun 10, 2024

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 Jun 10, 2024 11:56pm

Copy link

vercel bot commented Jun 10, 2024

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

A member of the Team first needs to authorize it.

@tnowacki tnowacki merged commit 41e224b into MystenLabs:main Jun 11, 2024
38 of 43 checks passed
@tnowacki tnowacki deleted the silence-warnings branch June 11, 2024 00:27
tx-tomcat pushed a commit to tx-tomcat/sui-network that referenced this pull request Jul 29, 2024
## Description 

- `BuildConfig::new_for_testing` now suppresses all warnings
- Should not affect unit tests or transactional tests
- I found one usage in sui-surfer that likely shouldn't want
new_for_testing, but still maybe wants warning suppression

## Test plan 

- 👀 

---

## 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:
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