Skip to content

Commit

Permalink
Release 2.0.1. (#320)
Browse files Browse the repository at this point in the history
* Add logging of public of the signer (#319)
  • Loading branch information
joshuajbouw committed Nov 1, 2021
1 parent 07c93b8 commit 8b1439f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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 VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.0.1
2 changes: 1 addition & 1 deletion engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aurora-engine"
version = "1.7.0"
version = "2.0.1"
authors = ["NEAR <hello@near.org>"]
edition = "2018"
description = ""
Expand Down
3 changes: 3 additions & 0 deletions engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b1439f

Please sign in to comment.