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

Use pallet::getter syntax #742

Merged
merged 2 commits into from
Jun 23, 2022

Conversation

tgmichel
Copy link
Contributor

Remove getter functions, use pallet::getter instead.

@tgmichel tgmichel requested a review from sorpaas as a code owner June 22, 2022 09:23
@sorpaas sorpaas merged commit 3b67d14 into polkadot-evm:master Jun 23, 2022
mutobui added a commit to grindytech/frontier that referenced this pull request Jul 15, 2022
* Use `pallet::getter` syntax (polkadot-evm#742)

* Use `pallet::getter` syntax

* Leave `current_block_hash`

* Bump thread_local from 1.1.3 to 1.1.4 (polkadot-evm#735)

Bumps [thread_local](https://github.com/Amanieu/thread_local-rs) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/Amanieu/thread_local-rs/releases)
- [Commits](Amanieu/thread_local-rs@v1.1.3...1.1.4)

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

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump parity-db from 0.3.13 to 0.3.14 (polkadot-evm#740)

Bumps [parity-db](https://github.com/paritytech/parity-db) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/paritytech/parity-db/releases)
- [Commits](https://github.com/paritytech/parity-db/commits)

---
updated-dependencies:
- dependency-name: parity-db
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump lru from 0.7.6 to 0.7.7 (polkadot-evm#731)

Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases)
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](jeromefroe/lru-rs@0.7.6...0.7.7)

---
updated-dependencies:
- dependency-name: lru
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Validate balance against effective gas price (polkadot-evm#744)

* Validate balance against effective gas price

* Add missing tests

* Make it simple

* `fp-ethereum` refactor (polkadot-evm#741)

* Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 (polkadot-evm#750)

Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](styfle/cancel-workflow-action@0.9.1...0.10.0)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  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>

* fix(frame): CheckWeight controls should be applied on pre_dispatch (polkadot-evm#749)

* Limit number of iterations in genesis nonce building (polkadot-evm#753)

* Fix benchmarking build + add to CI (polkadot-evm#756)

* Fix benchmarking build

* CI benchmarking checks

* Public `InvalidTransactionWrapper` (polkadot-evm#754)

* Bump serde_json from 1.0.81 to 1.0.82 (polkadot-evm#755)

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](serde-rs/json@v1.0.81...v1.0.82)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove unnecessary code in `Filter` api (polkadot-evm#746)

* Remove redundant gas checks in precompiles (polkadot-evm#745)

* remove redundant gas checks

* fmt

* fix borrowing issue

* Add missing config for ts-tests (polkadot-evm#730)

* Add BLOCK_TIMESTAMP config for ts-tests

Signed-off-by: koushiro <[email protected]>

* Add NODE_BINARY_NAME

Signed-off-by: koushiro <[email protected]>

* Improve test-balances

Signed-off-by: koushiro <[email protected]>

* Some nits

Signed-off-by: koushiro <[email protected]>

* Add RUNTIME_SPEC_NAME, RUNTIME_SPEC_VERSION, RUNTIME_IMPL_VERSION

Signed-off-by: koushiro <[email protected]>

* Some nits

Signed-off-by: koushiro <[email protected]>

* Use CHAIN_ID

Signed-off-by: koushiro <[email protected]>

* Some nits

Signed-off-by: koushiro <[email protected]>

* Improve test-revert-receipt

Signed-off-by: koushiro <[email protected]>

* Use camelCase

Signed-off-by: koushiro <[email protected]>

* Use tabs

Signed-off-by: koushiro <[email protected]>

* Avoid Extra Allocation (polkadot-evm#764)

* fix wrong error convertion (polkadot-evm#762)

* Bump serde from 1.0.137 to 1.0.138 (polkadot-evm#759)

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.137...v1.0.138)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump moment from 2.29.2 to 2.29.4 in /template/utils (polkadot-evm#766)

Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](moment/moment@2.29.2...2.29.4)

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

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Use named structs for pallet event (polkadot-evm#765)

Signed-off-by: koushiro <[email protected]>

* add with-rocksdb-weights (polkadot-evm#769)

* Create Cargo.toml

* Move with-rocksdb-weights feature declaration to default

Co-authored-by: Wei Tang <[email protected]>

* Bump serde from 1.0.138 to 1.0.139 (polkadot-evm#770)

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.138 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.138...v1.0.139)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Dispatch precompile: decode call with depth limit (polkadot-evm#748)

* decode call with depth limit

* add tests

* taplo fmt

* Bump libsecp256k1 from 0.7.0 to 0.7.1 (polkadot-evm#773)

Bumps [libsecp256k1](https://github.com/paritytech/libsecp256k1) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/paritytech/libsecp256k1/releases)
- [Changelog](https://github.com/paritytech/libsecp256k1/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/libsecp256k1/commits)

---
updated-dependencies:
- dependency-name: libsecp256k1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove schema cache (polkadot-evm#763)

* Remove schema cache

* clippy

Co-authored-by: tgmichel <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Éloïs <[email protected]>
Co-authored-by: Wei Tang <[email protected]>
Co-authored-by: nanocryk <[email protected]>
Co-authored-by: Qinxuan Chen <[email protected]>
Co-authored-by: Xavier Lau <[email protected]>
Co-authored-by: Bruno Galvao <[email protected]>
abhijeetbhagat pushed a commit to web3labs/frontier that referenced this pull request Jan 11, 2023
* Use `pallet::getter` syntax

* Leave `current_block_hash`
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