Skip to content

Commit

Permalink
sui ns: rpc with updated spec (MystenLabs#12006)
Browse files Browse the repository at this point in the history
## Description 

Update JSON RPC with new spec

## Test Plan 

local testing, similar to 
MystenLabs#10684
  • Loading branch information
gegaowp authored May 17, 2023
1 parent 8a8b466 commit 2597a81
Show file tree
Hide file tree
Showing 5 changed files with 199 additions and 196 deletions.
10 changes: 8 additions & 2 deletions crates/sui-config/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use std::usize;
use sui_keys::keypair_file::{read_authority_keypair_from_file, read_keypair_from_file};
use sui_protocol_config::SupportedProtocolVersions;
use sui_storage::object_store::ObjectStoreConfig;
use sui_types::base_types::ObjectID;
use sui_types::base_types::{ObjectID, SuiAddress};
use sui_types::crypto::AuthorityPublicKeyBytes;
use sui_types::crypto::KeypairTraits;
use sui_types::crypto::NetworkKeyPair;
Expand Down Expand Up @@ -113,7 +113,13 @@ pub struct NodeConfig {
pub expensive_safety_check_config: ExpensiveSafetyCheckConfig,

#[serde(skip_serializing_if = "Option::is_none")]
pub name_service_resolver_object_id: Option<ObjectID>,
pub name_service_package_address: Option<SuiAddress>,

#[serde(skip_serializing_if = "Option::is_none")]
pub name_service_registry_id: Option<ObjectID>,

#[serde(skip_serializing_if = "Option::is_none")]
pub name_service_reverse_registry_id: Option<ObjectID>,

#[serde(default)]
pub transaction_deny_config: TransactionDenyConfig,
Expand Down
Loading

0 comments on commit 2597a81

Please sign in to comment.