-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: native tokens #155
feat: native tokens #155
Commits on May 28, 2024
-
Co-authored-by: Iaroslav Mazur <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a7168f - Browse repository at this point
Copy the full SHA 5a7168fView commit details
Commits on May 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 13ae569 - Browse repository at this point
Copy the full SHA 13ae569View commit details -
feat: mntcallvalues in Precompile
feat: EOAs not allowed as Precompile callers fix: argument push order for BALANCEOF; test: mntcallvalues via Precompile; test: fix the caller's Nonce; refactor: extract the byte-parsing tools to primitives/utilities.
Configuration menu - View commit details
-
Copy full SHA for eb07a64 - Browse repository at this point
Copy the full SHA eb07a64View commit details
Commits on Jun 14, 2024
-
fix: SabVM passing the Ethereum tests
fix: the "shallow" sender->recipient token transferring in Journaled State; fix: value-passing to the created smart contracts; fix: the NT-aware definition of an "empty" account; build: fix the issues when building in the no-std mode; test: use InMemoryDB in State Tests, instead of EmptyDB; test: remove the gas cost for transferring NTs (for the time being); refactor: remove the unnecessary mutability of `self` in the Database trait impl.
Configuration menu - View commit details
-
Copy full SHA for 3983821 - Browse repository at this point
Copy the full SHA 3983821View commit details
Commits on Jun 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4d7747f - Browse repository at this point
Copy the full SHA 4d7747fView commit details
Commits on Jul 1, 2024
-
feat: bring "msg.sender" & "is static call" info into the
Precompile; feat: burning tokens from the explicit holder; feat: disallow calling the state-changing Precompile functions in a static context/call; feat: disallow EOAs to call certain Precompile functions; fix: the address of the Native Tokens Precompile; fix: work with Address bytes wrt the EVM WORD size; fix: msg.sender instead of tx.origin as minter/burner inside the Precompile; test: EOA->EOA token transfer; test: EOA->contract token transfer; test: balanceOf() via Native Tokens library; test: mint() via the SRF20 Token Mock; test: burn() via the SRF20 Token Mock; chore: remove the no-longer-relevant tests;
Configuration menu - View commit details
-
Copy full SHA for b3470a5 - Browse repository at this point
Copy the full SHA b3470a5View commit details -
fix: the "0x706" prefix in u64_to_prefixed_address()
test: u64_to_prefixed_address(); chore: fix clippy workflow issues.
Configuration menu - View commit details
-
Copy full SHA for e1e87df - Browse repository at this point
Copy the full SHA e1e87dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f1ff9 - Browse repository at this point
Copy the full SHA 30f1ff9View commit details
Commits on Jul 3, 2024
-
feat: token transfer Precompile functionality
test: token transfer via Precompile; test: use SpecId::LATEST; refactor: db token balance extraction.
Configuration menu - View commit details
-
Copy full SHA for 3842736 - Browse repository at this point
Copy the full SHA 3842736View commit details -
feat: transfer multiple Precompile functionality
feat: fail if the Precompile input has been ill-formed;
Configuration menu - View commit details
-
Copy full SHA for 96ae99e - Browse repository at this point
Copy the full SHA 96ae99eView commit details
Commits on Jul 7, 2024
-
fix: transfer multiple Precompile functionality
test: transfer MNTs via precompile; refactor: remove the incorrect is_tx_sender_eoa() logic.
Configuration menu - View commit details
-
Copy full SHA for b357be5 - Browse repository at this point
Copy the full SHA b357be5View commit details
Commits on Jul 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for efdfdef - Browse repository at this point
Copy the full SHA efdfdefView commit details
Commits on Aug 15, 2024
-
BREAKING CHANGE: internal contract calls triggered w/o EVM opcodes
refactor: adapt existing precompiles in light of the above
Configuration menu - View commit details
-
Copy full SHA for bf4de1c - Browse repository at this point
Copy the full SHA bf4de1cView commit details
Commits on Aug 20, 2024
-
feat: Transfer Multiple and Call Precompile functionality
feat: token IDs validation in transfer-multiple test: transfer-multiple-and-call refactor: clean the code
Configuration menu - View commit details
-
Copy full SHA for 7079e74 - Browse repository at this point
Copy the full SHA 7079e74View commit details
Commits on Aug 22, 2024
-
test: balanceOf() via a contract
refactor: remove the EOA-to-Precompile balanceOf() test refactor: more natural order of args for balanceOf() refactor: make test names more suggestive
Configuration menu - View commit details
-
Copy full SHA for 3ce3a78 - Browse repository at this point
Copy the full SHA 3ce3a78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd95dd - Browse repository at this point
Copy the full SHA 9bd95ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8e31b3 - Browse repository at this point
Copy the full SHA c8e31b3View commit details
Commits on Aug 23, 2024
-
feat: persist transferred MNTs for Delegate Calls
fix: Precompile now returns Transferred Tokens from Call and not Tx test: get Call Values as a contract refactor: remove the now-redundant EOA-to-Precompile test refactor: use a more suggestive naming in the SabVM tests
Configuration menu - View commit details
-
Copy full SHA for ea9353c - Browse repository at this point
Copy the full SHA ea9353cView commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 458e86c - Browse repository at this point
Copy the full SHA 458e86cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5037e7 - Browse repository at this point
Copy the full SHA e5037e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c55b4 - Browse repository at this point
Copy the full SHA e3c55b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0080f4a - Browse repository at this point
Copy the full SHA 0080f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98977c3 - Browse repository at this point
Copy the full SHA 98977c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60afbd2 - Browse repository at this point
Copy the full SHA 60afbd2View commit details
Commits on Aug 27, 2024
-
refactor: centralize the zero-amount check for burning
refactor: Balances -> TokenBalances
Configuration menu - View commit details
-
Copy full SHA for 55fc3de - Browse repository at this point
Copy the full SHA 55fc3deView commit details -
docs: document the Native Tokens tests
test: add some extra verifications in the tests refactor: make the naming inside the tests more suggestive
Configuration menu - View commit details
-
Copy full SHA for 04e9615 - Browse repository at this point
Copy the full SHA 04e9615View commit details -
docs: document the Native Tokens Precompile
refactor: extract the Precompile functionalities into stand-alone functions
Configuration menu - View commit details
-
Copy full SHA for 50632b3 - Browse repository at this point
Copy the full SHA 50632b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f2c373 - Browse repository at this point
Copy the full SHA 7f2c373View commit details
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1fda4b6 - Browse repository at this point
Copy the full SHA 1fda4b6View commit details