Skip to content

Commit

Permalink
Action version fix, debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl committed Jun 10, 2023
1 parent 531f149 commit 3900167
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:

- name: Get release
id: get_release
uses: bruceadams/get-release@v1
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
5 changes: 4 additions & 1 deletion lib/ain-evm/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,10 @@ impl EVMHandler {

// TODO lift MAX_GAS_PER_BLOCK
const MAX_GAS_PER_BLOCK: U256 = U256([30_000_000, 0, 0, 0]);
println!("MAX_GAS_PER_BLOCK : {:#x}", MAX_GAS_PER_BLOCK);
debug!(
"[validate_raw_tx] MAX_GAS_PER_BLOCK: {:#x}",
MAX_GAS_PER_BLOCK
);
if gas_limit > MAX_GAS_PER_BLOCK {
return Err(anyhow!("Gas limit higher than MAX_GAS_PER_BLOCK").into());
}
Expand Down

0 comments on commit 3900167

Please sign in to comment.