Skip to content

Commit

Permalink
estetics
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Sep 9, 2024
1 parent abfbea6 commit 4155aaa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/evmone_precompiles/kzg.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2024 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0

#include "kzg.hpp"
#include <blst.h>
#include <algorithm>
Expand Down
6 changes: 5 additions & 1 deletion lib/evmone_precompiles/kzg.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
// evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2024 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include "sha256.hpp"
#include <intx/intx.hpp>

namespace evmone::crypto
{
using intx::operator""_u256;
using namespace intx::literals;

/// Length (in bytes) of the versioned hash (based on SHA256).
constexpr auto VERSIONED_HASH_SIZE = SHA256_HASH_SIZE;
Expand Down

0 comments on commit 4155aaa

Please sign in to comment.