Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

fix: overflow check memory operations charge gas #1381

Merged
merged 10 commits into from
Sep 4, 2024

Conversation

obatirou
Copy link
Collaborator

@obatirou obatirou commented Sep 3, 2024

Time spent on this PR:

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Resolves #1372

What is the new behavior?

Overflow checks for memeory operation before charge gas


This change is Reviewable

@obatirou obatirou force-pushed the mcopy-gas-calculation-overflow branch from 01a23d1 to 2b740ec Compare September 4, 2024 11:45
@obatirou obatirou marked this pull request as ready for review September 4, 2024 11:55
@obatirou obatirou force-pushed the mcopy-gas-calculation-overflow branch from f87aa24 to a6bc68d Compare September 4, 2024 13:29
@obatirou obatirou force-pushed the mcopy-gas-calculation-overflow branch from a6bc68d to a0e0c09 Compare September 4, 2024 13:30
ClementWalter
ClementWalter previously approved these changes Sep 4, 2024
@ClementWalter ClementWalter merged commit 791f1a4 into kkrt-labs:main Sep 4, 2024
6 checks passed
matthieuauger pushed a commit to matthieuauger/kakarot that referenced this pull request Nov 9, 2024
* add clap

* fix hive chain

* add clap to hive genesis

* and now we pray

* add asdf and pray

* missing \

* fix nonce issue in hive genesis

* add pool configuration update for hive

* remove optional on compat

* add relayer private key

* start the relayer

* lint

* add null block hash

* fix ts

* fix isKakarotTransaction

* fix toTypedEthTx

* fix slicing

* missed that

* correctly slice

* fixes hive test youpie

* lint transaction.ts

* ignore failing tests

* add pool maintenance task

* ignore one last test

* add clap

* fix hive chain

* add clap to hive genesis

* and now we pray

* add asdf and pray

* missing \

* fix nonce issue in hive genesis

* add pool configuration update for hive

* remove optional on compat

* add relayer private key

* start the relayer

* lint

* add null block hash

* fix ts

* fix isKakarotTransaction

* fix toTypedEthTx

* fix slicing

* missed that

* correctly slice

* fixes hive test youpie

* lint transaction.ts

* ignore failing tests

* add pool maintenance task

* ignore one last test

* lint

* lint

* comment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Gas calculation overflow in exec_mcopy
3 participants