Skip to content

Commit

Permalink
[nits/chore] fix prot cfg macro fmt nits (MystenLabs#11767)
Browse files Browse the repository at this point in the history
## Description 

Formatting nits from MystenLabs#11510
## Test Plan 

N/A
---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
  • Loading branch information
oxade authored May 5, 2023
1 parent 04b4c0f commit 0428751
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sui-protocol-config-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use syn::{parse_macro_input, Data, DeriveInput, Fields, Type};
/// /// Returns the value of the field if exists at the given version, otherise None
/// pub fn lookup_attr(&self, value: String) -> Option<ProtocolConfigValue>;
///
/// /// Returns a map of all confgis to values
/// /// Returns a map of all configs to values
/// pub fn attr_map(&self) -> std::collections::BTreeMap<String, Option<ProtocolConfigValue>>;
///
/// /// Returns a feature by the string name or None if it doesn't exist
Expand Down Expand Up @@ -76,7 +76,7 @@ pub fn getters_macro(input: TokenStream) -> TokenStream {
panic!("Expected angle bracketed arguments.");
};

let getter =quote! {
let getter = quote! {
// Derive the getter
pub fn #field_name(&self) -> #inner_type {
self.#field_name.expect(Self::CONSTANT_ERR_MSG)
Expand Down
1 change: 1 addition & 0 deletions crates/sui-surfer/tests/smoke_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use sui_macros::sim_test;
use sui_surfer::default_surf_strategy::DefaultSurfStrategy;

#[sim_test]
#[ignore]
async fn smoke_test() {
// This test makes sure that the sui surfer runs.

Expand Down

0 comments on commit 0428751

Please sign in to comment.