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: Dependency update #286

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 21 additions & 57 deletions Cargo.lock

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

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ categories = ["cryptography"]
publish = false # We don't want to publish our binaries.

[dependencies]
zksync_basic_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" }
zksync_node_fee_model = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" }
multivm = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" }
zksync_contracts = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" }
zksync_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" }
zksync_utils = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" }
zksync_state = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea" }
zksync_web3_decl = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e10bbdd1e863962552f37e768ae6af649353e4ea", features = [ "server", "client" ] }
zksync_basic_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
zksync_node_fee_model = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
multivm = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
zksync_contracts = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
zksync_types = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
zksync_utils = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
zksync_state = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
zksync_web3_decl = { git = "https://github.com/matter-labs/zksync-era.git", rev = "e55b11fb2a438cd97d2b5523d0d55d03bc0f0071" }
sha3 = "0.10.6"


Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@
DateTime::<Utc>::from_timestamp(secs as i64, nanos as u32).expect("valid timestamp")
}

pub fn into_jsrpc_error(err: Web3Error) -> Error {

Check warning on line 232 in src/utils.rs

View workflow job for this annotation

GitHub Actions / lint

Diff in /home/runner/work/era-test-node/era-test-node/src/utils.rs

Check warning on line 232 in src/utils.rs

View workflow job for this annotation

GitHub Actions / lint

Diff in /home/runner/work/era-test-node/era-test-node/src/utils.rs
Error {
code: match err {
Web3Error::InternalError(_) | Web3Error::NotImplemented => ErrorCode::InternalError,
Web3Error::InternalError(_) | Web3Error::MethodNotImplemented => ErrorCode::InternalError,
Web3Error::NoBlock
| Web3Error::PrunedBlock(_)
| Web3Error::PrunedL1Batch(_)
Expand Down
Loading