From 8b1439f7011f98f0cc7785fdcd8a8eb98ecf7602 Mon Sep 17 00:00:00 2001 From: "Joshua J. Bouw" Date: Mon, 1 Nov 2021 18:21:00 +0700 Subject: [PATCH] Release 2.0.1. (#320) * Add logging of public of the signer (#319) --- CHANGES.md | 6 ++++++ Cargo.lock | 2 +- VERSION | 2 +- engine/Cargo.toml | 2 +- engine/src/lib.rs | 3 +++ 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 7028ec75e..c21195a54 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.1] - 2021-11-01 + +### Added + +- Added logging of public keys during `submit` calls by [@joshuajbouw]. ([#319](https://github.com/aurora-is-near/aurora-engine/pull/319)) + ## [2.0.0] - 2021-10-27 ### Added diff --git a/Cargo.lock b/Cargo.lock index 7c73da06e..b2455a2a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -115,7 +115,7 @@ dependencies = [ [[package]] name = "aurora-engine" -version = "1.7.0" +version = "2.0.1" dependencies = [ "aurora-bn", "aurora-engine-precompiles", diff --git a/VERSION b/VERSION index 227cea215..38f77a65b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0 +2.0.1 diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 25225ecea..4d0aa4f43 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aurora-engine" -version = "1.7.0" +version = "2.0.1" authors = ["NEAR "] edition = "2018" description = "" diff --git a/engine/src/lib.rs b/engine/src/lib.rs index feee73cd7..03a0c9cbe 100644 --- a/engine/src/lib.rs +++ b/engine/src/lib.rs @@ -224,6 +224,9 @@ mod contract { .sender() .sdk_expect("ERR_INVALID_ECDSA_SIGNATURE"); + #[cfg(feature = "log")] + sdk::log(crate::prelude::format!("signer_public_key 0x{}", sender).as_str()); + Engine::check_nonce(&sender, signed_transaction.nonce()).sdk_unwrap(); // Check intrinsic gas is covered by transaction gas limit