From d65160c18a4e0ebb32728fa6db986f028a141300 Mon Sep 17 00:00:00 2001 From: Bohdan Khorolets Date: Mon, 3 May 2021 15:46:49 +0300 Subject: [PATCH] Upgrade nearcore dependency to support protocol version 45 (#100) --- CHANGELOG.md | 4 ++++ Cargo.lock | 60 ++++++++++++++++++++++++++-------------------------- Cargo.toml | 6 +++--- 3 files changed, 37 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97b912eb..4c94ca42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.6.1 + +* Upgrade `nearcore` to support newer protocol version (45) + ## 0.6.0 * Upgrade `nearcore` to get NEAR Indexer Framework 0.9.0 diff --git a/Cargo.lock b/Cargo.lock index e4f7fe0e..efa3f0af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1906,7 +1906,7 @@ dependencies = [ [[package]] name = "indexer-explorer" -version = "0.6.0" +version = "0.6.1" dependencies = [ "actix", "actix-diesel", @@ -2228,7 +2228,7 @@ checksum = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238" [[package]] name = "near-chain" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "borsh", "cached", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "near-chain-configs" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "chrono", "derive_more", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "near-chain-primitives" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "chrono", "failure", @@ -2285,7 +2285,7 @@ dependencies = [ [[package]] name = "near-chunks" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "borsh", @@ -2307,7 +2307,7 @@ dependencies = [ [[package]] name = "near-client" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "actix-rt", @@ -2345,7 +2345,7 @@ dependencies = [ [[package]] name = "near-client-primitives" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "chrono", @@ -2363,7 +2363,7 @@ dependencies = [ [[package]] name = "near-crypto" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "arrayref", "blake2", @@ -2387,7 +2387,7 @@ dependencies = [ [[package]] name = "near-epoch-manager" version = "0.0.1" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "borsh", "cached", @@ -2409,7 +2409,7 @@ dependencies = [ [[package]] name = "near-indexer" version = "0.8.1" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "futures", @@ -2429,7 +2429,7 @@ dependencies = [ [[package]] name = "near-jsonrpc" version = "0.2.1" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "actix-cors", @@ -2459,7 +2459,7 @@ dependencies = [ [[package]] name = "near-jsonrpc-client" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix-web", "futures", @@ -2473,7 +2473,7 @@ dependencies = [ [[package]] name = "near-jsonrpc-primitives" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "lazy_static", @@ -2495,7 +2495,7 @@ dependencies = [ [[package]] name = "near-metrics" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "lazy_static", "log", @@ -2505,7 +2505,7 @@ dependencies = [ [[package]] name = "near-network" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "borsh", @@ -2539,7 +2539,7 @@ dependencies = [ [[package]] name = "near-performance-metrics" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "bitflags", @@ -2559,7 +2559,7 @@ dependencies = [ [[package]] name = "near-performance-metrics-macros" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "quote", "syn", @@ -2568,7 +2568,7 @@ dependencies = [ [[package]] name = "near-pool" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "borsh", "near-crypto", @@ -2579,7 +2579,7 @@ dependencies = [ [[package]] name = "near-primitives" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "base64 0.13.0", "borsh", @@ -2610,7 +2610,7 @@ dependencies = [ [[package]] name = "near-primitives-core" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "base64 0.11.0", "borsh", @@ -2627,7 +2627,7 @@ dependencies = [ [[package]] name = "near-rpc-error-core" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "proc-macro2", "quote", @@ -2638,7 +2638,7 @@ dependencies = [ [[package]] name = "near-rpc-error-macro" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "near-rpc-error-core", "proc-macro2", @@ -2651,7 +2651,7 @@ dependencies = [ [[package]] name = "near-runtime-utils" version = "3.0.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "lazy_static", "regex", @@ -2676,7 +2676,7 @@ dependencies = [ [[package]] name = "near-store" version = "2.2.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "borsh", "byteorder", @@ -2701,7 +2701,7 @@ dependencies = [ [[package]] name = "near-telemetry" version = "0.1.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "actix-web", @@ -2717,7 +2717,7 @@ dependencies = [ [[package]] name = "near-vm-errors" version = "3.0.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "borsh", "hex", @@ -2728,7 +2728,7 @@ dependencies = [ [[package]] name = "near-vm-logic" version = "3.0.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "base64 0.13.0", "borsh", @@ -2746,7 +2746,7 @@ dependencies = [ [[package]] name = "near-vm-runner" version = "3.0.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "anyhow", "borsh", @@ -2773,7 +2773,7 @@ dependencies = [ [[package]] name = "neard" version = "1.2.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "actix", "actix-rt", @@ -2829,7 +2829,7 @@ dependencies = [ [[package]] name = "node-runtime" version = "3.0.0" -source = "git+https://github.com/near/nearcore?rev=379f87e5dd5d3c1e798baf164068e0a0517fdcfc#379f87e5dd5d3c1e798baf164068e0a0517fdcfc" +source = "git+https://github.com/near/nearcore?rev=2ca2684ad7cf400b5c617f62ac118aa105f16193#2ca2684ad7cf400b5c617f62ac118aa105f16193" dependencies = [ "borsh", "byteorder", diff --git a/Cargo.toml b/Cargo.toml index aa705310..484d58c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "indexer-explorer" -version = "0.6.0" +version = "0.6.1" authors = ["Near Inc "] edition = "2018" @@ -31,5 +31,5 @@ tracing = "0.1.13" tracing-subscriber = "0.2.4" actix-diesel = { git = "https://github.com/frol/actix-diesel", branch="actix-0.11-beta.2" } -near-indexer = { git = "https://github.com/near/nearcore", rev="379f87e5dd5d3c1e798baf164068e0a0517fdcfc" } -near-crypto = { git = "https://github.com/near/nearcore", rev="379f87e5dd5d3c1e798baf164068e0a0517fdcfc" } +near-indexer = { git = "https://github.com/near/nearcore", rev="2ca2684ad7cf400b5c617f62ac118aa105f16193" } +near-crypto = { git = "https://github.com/near/nearcore", rev="2ca2684ad7cf400b5c617f62ac118aa105f16193" }