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

Ndev 3050 rocks db #921

Open
wants to merge 325 commits into
base: develop
Choose a base branch
from
Open

Conversation

iguberman
Copy link

No description provided.

andreisilviudragnea and others added 30 commits December 12, 2023 11:27
- Extracted BuildConfigSimulator trait
- Converted ConfigSimulator functions to methods
…module (#247)

* NDEV-2441: Convert functions to methods in metaplex module

* NDEV-2441: Convert metaplex function to method

* NDEV-2441: Merge impl blocks in metaplex

* NDEV-2441: Convert functions to methods in neon_token module

* NDEV-2441: Convert functions to methods in query_account module

* NDEV-2441: Convert functions to methods in spl_token

* NDEV-2441: Convert spl_token function to method

* NDEV-2441: Merge impl blocks in spl_token

* fix container command
* Eliminate `evm::buffer::Inner::Empty`

The `Empty` variant was added when we had different memory allocators.
Currently we can also represent the emptyness of the buffer trough the
`Inner::Owned` variant since that holds a `Vec` which can be empty.
Removes the duplicate definition from the buffer tests.
Also considering serialized data from previous versions.
* NDEV-2514: Refactor get_config module

* Remove unused code

* Address code review
* Fix EXTHASHCODE

* NDEV-2505: Code review suggestions (#254)

* Remove unused AccountStorage::code_hash method

* Replace Buffer::buffer_is_empty with [T]::is_empty

* Rename from_address to address (consistent with trait)

* Rename buffer to code

* Inline data_account_exists method

* Remove TODOs

* Reformat

* Add test_keccak_hash_empty_slice

* Add Buffer::is_empty tests

* Use early return to simplify code flow

* Move `Database` convenience functions to extension trait

Added `DatabaseExt` which implements functions that can be implemented
in terms of `Database`.

* Update comments and naming

* Add tests

* Address comment

* Refactor unit tests

* Replace maybe_async::test with tokio::test

The maybe_async::test predicate does not work with `cargo test-sbf`
right now anyway.

* Fix typo

---------

Co-authored-by: Andrei Silviu Dragnea <[email protected]>
#266)

* add keys for Miro, DeBank/ Rabby and Alfie for devnet WL
…ner::event method (#273)

* NDEV-2620: Add executor_state: &impl Database parameter to EventListener::event method

* NDEV-2620: Extract Tracer trait from EventListener trait

* NDEV-2620: Move Tracer trait to neon-lib crate
* NDEV-2651 Remove syscall_stabs
---------

Co-authored-by: Semen Medvedev <[email protected]>
* Add account revision
* Update Solana SDK to 1.17.23 and Rust to 1.73
Bumps [unsafe-libyaml](https://github.com/dtolnay/unsafe-libyaml) from 0.2.9 to 0.2.10.
- [Release notes](https://github.com/dtolnay/unsafe-libyaml/releases)
- [Commits](dtolnay/unsafe-libyaml@0.2.9...0.2.10)

---
updated-dependencies:
- dependency-name: unsafe-libyaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.11.0 to 0.12.1.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](rust-itertools/itertools@v0.11.0...v0.12.1)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [h2](https://github.com/hyperium/h2) from 0.3.18 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md)
- [Commits](hyperium/h2@v0.3.18...v0.3.24)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.6 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/mio@v0.8.6...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.50 to 0.10.64.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](sfackler/rust-openssl@openssl-v0.10.50...openssl-v0.10.64)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
iguberman and others added 30 commits August 26, 2024 23:14
#520)

* NDEV-3096. Get Account State after emulation for debug_traceTransaction rpc

* NDEV-3096. Add db request: get_accounts_in_transaction for tracer debug_traceTransaction
* Introduce DynamicGas transaction type.

* Implement instruction inspection for Compute Budget to calculate priority fee.

* Implement validation of priority fee and transfer.

* Add PRIORITYFEE logging to be able to parse it from the proxy.

* Implement BASEFEE opcode, take it from the transaction.

* Support DynamicFee transaction type in the transaction emulation TxParams.

* Expose additional transaction data from get_holder API: tx_type, max_fee_per_gas, max_priority_fee_per_gas.

* Minor review changes, part1.

* Handle transaction parsed rlp gracefully in the get_holder api method.

* Fix after rebase on develop.

* Remove validation of compute units from instructions for DynamicGas Transactions. Also, cover the case max_fee_per_gas=max_priority_fee_per_gas - treat it as a legacy transaction.

* Make priority fee work the same as usual gas: charge the whole amount in the first iteration, track how much was granted to operator in the middle, refund the user in the end.

* Forbid CPI calls of neon-evm with DynamicFee transactions inside.
…ng NoDb TracerDbType which returns Err result for every method
* fix deploy.py script for manual run

* fix organization name in image name
Co-authored-by: Semen Medvedev <[email protected]>
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.