Skip to content

Commit

Permalink
fix: case error in js proto and bump version (#551)
Browse files Browse the repository at this point in the history
* Fix case error in js proto and bump version

* Fix skip position
  • Loading branch information
Ma233 authored Feb 7, 2024
1 parent e706a37 commit 9e58b3d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/*", "examples/native", "examples/snark"]

[workspace.package]
version = "0.5.5"
version = "0.5.6"
edition = "2021"
license = "GPL-3.0"
authors = ["RND <[email protected]>"]
Expand Down
6 changes: 3 additions & 3 deletions crates/core/src/tests/default/test_stabilization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ async fn run_node(swarm: Arc<Swarm>) {
futures::future::join(message_handler, stabilization).await;
}

// this function not work for dummy test
// TODO: need to fix it
#[cfg(not(feature = "dummy"))]
#[tokio::test]
async fn test_stabilization_once() -> Result<()> {
let mut key1 = SecretKey::random();
Expand Down Expand Up @@ -129,6 +126,9 @@ async fn test_stabilization() -> Result<()> {
Ok(())
}

// this function not work for dummy test
// TODO: need to fix it
#[cfg(not(feature = "dummy"))]
#[tokio::test]
async fn test_stabilization_final_dht() -> Result<()> {
let mut nodes = vec![];
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"RND <[email protected]>"
],
"description": "Rings is a structured peer-to-peer network implementation using WebRTC, Chord algorithm, and full WebAssembly (WASM) support.\n",
"version": "0.5.5",
"version": "0.5.6",
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/RingsNetwork/rings-node"
},
"scripts": {
"wasm_pack": "wasm-pack build crates/node --release --scope ringsnetwork -t web --no-default-features --features browser --features console_error_panic_hook",
"proto_generate": "mkdir -p dist && pbjs -t static-module -o dist/rings_node_proto.js crates/rpc/src/protos/rings_node.proto && pbts -o dist/rings_node_proto.d.ts dist/rings_node_proto.js",
"proto_generate": "mkdir -p dist && pbjs -t static-module --keep-case -o dist/rings_node_proto.js crates/rpc/src/protos/rings_node.proto && pbts -o dist/rings_node_proto.d.ts dist/rings_node_proto.js",
"prepare": "npm run wasm_pack && npm run proto_generate && cp crates/node/pkg/rings_node* ./dist && cp index.ts ./dist && tsc ./dist/index.ts"
},
"dependencies": {
Expand Down

0 comments on commit 9e58b3d

Please sign in to comment.