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: increase version #2571

Merged
merged 1 commit into from
Sep 27, 2023
Merged
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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.20)
# Set current version of the project
set(TARAXA_MAJOR_VERSION 1)
set(TARAXA_MINOR_VERSION 4)
set(TARAXA_PATCH_VERSION 3)
set(TARAXA_PATCH_VERSION 4)
set(TARAXA_VERSION ${TARAXA_MAJOR_VERSION}.${TARAXA_MINOR_VERSION}.${TARAXA_PATCH_VERSION})

# Any time a change in the network protocol is introduced this version should be increased
Expand Down
7 changes: 7 additions & 0 deletions libraries/core_libs/consensus/src/final_chain/final_chain.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "final_chain/final_chain.hpp"

#include <cstdint>
#include <stdexcept>
#include <string>

#include "common/constants.hpp"
Expand Down Expand Up @@ -403,6 +404,9 @@ class FinalChainImpl final : public FinalChain {
state_api::ExecutionResult call(state_api::EVMTransaction const& trx,
std::optional<EthBlockNumber> blk_n = {}) const override {
auto const blk_header = block_header(last_if_absent(blk_n));
if (!blk_header) {
throw std::runtime_error("Future block");
}
return state_api_.dry_run_transaction(blk_header->number,
{
blk_header->author,
Expand All @@ -416,6 +420,9 @@ class FinalChainImpl final : public FinalChain {
std::string trace(std::vector<state_api::EVMTransaction> trxs, EthBlockNumber blk_n,
std::optional<state_api::Tracing> params = {}) const override {
const auto blk_header = block_header(last_if_absent(blk_n));
if (!blk_header) {
throw std::runtime_error("Future block");
}
return dev::asString(state_api_.trace(blk_header->number,
{
blk_header->author,
Expand Down
Loading