Skip to content

Commit

Permalink
Remove vendor precompile-utils (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard authored Aug 9, 2024
1 parent 6609050 commit 2ad07ab
Show file tree
Hide file tree
Showing 103 changed files with 13 additions and 11,233 deletions.
72 changes: 8 additions & 64 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ pallet-base-fee = { git = "https://github.com/AstarNetwork/frontier", branch = "
pallet-evm-chain-id = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }
fp-evm = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }
fp-ethereum = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }
precompile-utils = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }

# (native)
fc-consensus = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0" }
Expand Down Expand Up @@ -313,8 +314,6 @@ pallet-chain-extension-unified-accounts = { path = "./chain-extensions/unified-a
assets-chain-extension-types = { path = "./chain-extensions/types/assets", default-features = false }
unified-accounts-chain-extension-types = { path = "./chain-extensions/types/unified-accounts", default-features = false }

precompile-utils = { path = "./precompiles/utils", default-features = false }

local-runtime = { path = "./runtime/local", default-features = false }
shibuya-runtime = { path = "./runtime/shibuya", default-features = false }
shiden-runtime = { path = "./runtime/shiden", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion bin/collator/src/local/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fn testnet_genesis(
evm: EVMConfig {
// We need _some_ code inserted at the precompile address so that
// the evm will actually call the address.
accounts: Precompiles::used_addresses()
accounts: Precompiles::used_addresses_h160()
.map(|addr| {
(
addr,
Expand Down
2 changes: 1 addition & 1 deletion bin/collator/src/parachain/chain_spec/astar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fn make_genesis(
evm: EVMConfig {
// We need _some_ code inserted at the precompile address so that
// the evm will actually call the address.
accounts: Precompiles::used_addresses()
accounts: Precompiles::used_addresses_h160()
.map(|addr| {
(
addr,
Expand Down
2 changes: 1 addition & 1 deletion bin/collator/src/parachain/chain_spec/shibuya.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ fn make_genesis(
evm: EVMConfig {
// We need _some_ code inserted at the precompile address so that
// the evm will actually call the address.
accounts: Precompiles::used_addresses()
accounts: Precompiles::used_addresses_h160()
.map(|addr| {
(
addr,
Expand Down
2 changes: 1 addition & 1 deletion bin/collator/src/parachain/chain_spec/shiden.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fn make_genesis(
evm: EVMConfig {
// We need _some_ code inserted at the precompile address so that
// the evm will actually call the address.
accounts: Precompiles::used_addresses()
accounts: Precompiles::used_addresses_h160()
.map(|addr| {
(
addr,
Expand Down
66 changes: 0 additions & 66 deletions precompiles/utils/Cargo.toml

This file was deleted.

43 changes: 0 additions & 43 deletions precompiles/utils/macro/Cargo.toml

This file was deleted.

Loading

0 comments on commit 2ad07ab

Please sign in to comment.