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

Pull parity frontier master latest commits #38

Merged
merged 21 commits into from
Oct 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b5f49f7
Public visibility for `validate_common` (#833)
tgmichel Sep 1, 2022
233173e
Support `ExitError::InvalidCode` in gas estimation (#840)
tgmichel Sep 4, 2022
7c96d95
Remove unwraps in RPC `pending_runtime_api` (#842)
tgmichel Sep 6, 2022
06eb4f2
Handle `earliest` tag for `BlockNumber` (#836)
tgmichel Sep 8, 2022
02ae871
Bump thiserror from 1.0.32 to 1.0.34 (#845)
dependabot[bot] Sep 9, 2022
8cc0755
Bump clap from 3.2.17 to 3.2.20 (#844)
dependabot[bot] Sep 9, 2022
96ba32a
Bump futures from 0.3.21 to 0.3.24 (#831)
dependabot[bot] Sep 9, 2022
d3beddc
Fix post dispatch weight (#851)
notlesh Sep 20, 2022
fe12fdd
Add `safe` and `finalized` block tags support (#853)
tgmichel Sep 20, 2022
817bdfb
Bump clap from 3.2.20 to 3.2.22 (#858)
dependabot[bot] Sep 20, 2022
e8dbed1
Bump lru from 0.7.8 to 0.8.0 (#850)
dependabot[bot] Sep 20, 2022
a8d4dd5
Update substrate to polkadot-v0.9.28 (#830)
koushiro Sep 23, 2022
6576c56
add feature forbid-evm-reentrancy (#863)
librelois Oct 3, 2022
2d802a1
Align `GasWeightMapping` with Substrate `do_pre_dispatch` logic (#865)
tgmichel Oct 4, 2022
d2516b3
Fix geth error messages (#870)
tgmichel Oct 4, 2022
5bd0dc7
Frontier DB block mapping one-to-many (#862)
tgmichel Oct 5, 2022
72aeaf6
impl original_storage in SubstrateStackState (#871)
nanocryk Oct 6, 2022
e3ee95a
EIP1559 strict balance validation (#857)
notlesh Oct 6, 2022
d492fd4
Version 2 db migration improvements (#874)
tgmichel Oct 9, 2022
692df1f
Add back support for zero gas price validated transactions (#875)
tgmichel Oct 10, 2022
b0b78f0
Update evm revision (#879)
sorpaas Oct 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
456 changes: 251 additions & 205 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions client/cli/src/frontier_db_cmd/mapping_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

use std::sync::Arc;

use ethereum_types::H256;
use serde::Deserialize;
use std::sync::Arc;
// Substrate
use sp_runtime::{generic::BlockId, traits::Block as BlockT};
// Frontier
use fp_rpc::EthereumRuntimeRPCApi;

use super::{utils::FrontierDbMessage, Column, FrontierDbCmd, Operation};

use fp_rpc::EthereumRuntimeRPCApi;
use sp_runtime::{generic::BlockId, traits::Block as BlockT};

#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum MappingValue<H> {
Expand Down
9 changes: 5 additions & 4 deletions client/cli/src/frontier_db_cmd/meta_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

use ethereum_types::H256;
use serde::Deserialize;
use std::{
collections::HashMap,
str::{self, FromStr},
sync::Arc,
};

use super::{utils::FrontierDbMessage, FrontierDbCmd, Operation};

use ethereum_types::H256;
use serde::Deserialize;
// Substrate
use sp_runtime::traits::Block as BlockT;

use super::{utils::FrontierDbMessage, FrontierDbCmd, Operation};

#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum MetaValue<H> {
Expand Down
14 changes: 8 additions & 6 deletions client/cli/src/frontier_db_cmd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ mod meta_db;
mod tests;
pub(crate) mod utils;

use mapping_db::{MappingDb, MappingKey, MappingValue};
use meta_db::{MetaDb, MetaKey, MetaValue};
use std::{path::PathBuf, str::FromStr, sync::Arc};

use clap::ArgEnum;
use sc_cli::{PruningParams, SharedParams};
use ethereum_types::H256;
use serde::Deserialize;
use std::{path::PathBuf, str::FromStr, sync::Arc};

// Substrate
use sc_cli::{PruningParams, SharedParams};
use sp_runtime::traits::Block as BlockT;

use ethereum_types::H256;
use self::{
mapping_db::{MappingDb, MappingKey, MappingValue},
meta_db::{MetaDb, MetaKey, MetaValue},
};

/// Cli tool to interact with the Frontier backend db
#[derive(Debug, Clone, clap::Parser)]
Expand Down
Loading