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

Missing dict functionalities #680

Merged
merged 19 commits into from
Jan 14, 2025
Merged

Missing dict functionalities #680

merged 19 commits into from
Jan 14, 2025

Conversation

MaksymMalicki
Copy link
Contributor

No description provided.

MaksymMalicki and others added 15 commits November 15, 2024 16:16
* Add parsing logic for input user args

* Add flags for available gas, input user args, writing args to memory

* Fix unit tests for user arguments parsing

* Lint the PR

* Add user args to hint context

* Refactor the code

* Fix unconditional append of ExternalWriteArgsToMemory, bug fixes in integration tests

* Add fixes of the call size calculation and include ExternalWriteArgsToMemory hint when gas present

* Add layouts for integration tests

* Add error handling

* Fixes in entry code generation

* Address changes mentioned in a discussion

* Add comment regarding writing to memory in a hint for the future reference in the integration tests with args

* Changes in calculations of the initial PC offset, CALL opcode offset incremented by mainFuncOffset, writing user args to the AP in the hint

* Turn back VM config to private field

* Add error handling on assign of `userArgs` to the initial scope

* Lint project

* Bump go version from 1.20 -> 1.21 (#678)

* Bump go version from 1.20 -> 1.21

* Update golangci-lint

* Simplify the Makefile

* Correction in the makefile
@MaksymMalicki MaksymMalicki changed the base branch from main to hints_fixes January 10, 2025 15:09
Base automatically changed from hints_fixes to main January 10, 2025 15:50
pkg/hintrunner/core/hint.go Show resolved Hide resolved
pkg/hintrunner/core/hint.go Show resolved Hide resolved
pkg/runner/gas.go Show resolved Hide resolved
pkg/vm/builtins/builtin_runner.go Outdated Show resolved Hide resolved
@cicr99 cicr99 merged commit fae330d into main Jan 14, 2025
6 checks passed
@cicr99 cicr99 deleted the missing_dict_functionalities branch January 14, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants