Skip to content

Commit

Permalink
test_state.hpp: fix clang-tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Sep 27, 2024
1 parent 767b9a8 commit 2014f51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/state/test_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class TestState : public state::StateView, public std::map<address, TestAccount>
public:
using map::map;

std::optional<Account> get_account(address addr) const noexcept override;
bytes get_account_code(address addr) const noexcept override;
[[nodiscard]] std::optional<Account> get_account(address addr) const noexcept override;
[[nodiscard]] bytes get_account_code(address addr) const noexcept override;

bytes32 get_storage(address addr, bytes32 key) const noexcept override;
[[nodiscard]] bytes32 get_storage(address addr, bytes32 key) const noexcept override;

/// Inserts new account to the state.
///
Expand Down

0 comments on commit 2014f51

Please sign in to comment.