Skip to content

Commit 2ad07ab

Browse files
authored
Remove vendor precompile-utils (#1321)
1 parent 6609050 commit 2ad07ab

File tree

103 files changed

+13
-11233
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+13
-11233
lines changed

Cargo.lock

+8-64
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ pallet-base-fee = { git = "https://github.com/AstarNetwork/frontier", branch = "
208208
pallet-evm-chain-id = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }
209209
fp-evm = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }
210210
fp-ethereum = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }
211+
precompile-utils = { git = "https://github.com/AstarNetwork/frontier", branch = "polkadot-v1.11.0", default-features = false }
211212

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

316-
precompile-utils = { path = "./precompiles/utils", default-features = false }
317-
318317
local-runtime = { path = "./runtime/local", default-features = false }
319318
shibuya-runtime = { path = "./runtime/shibuya", default-features = false }
320319
shiden-runtime = { path = "./runtime/shiden", default-features = false }

bin/collator/src/local/chain_spec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ fn testnet_genesis(
128128
evm: EVMConfig {
129129
// We need _some_ code inserted at the precompile address so that
130130
// the evm will actually call the address.
131-
accounts: Precompiles::used_addresses()
131+
accounts: Precompiles::used_addresses_h160()
132132
.map(|addr| {
133133
(
134134
addr,

bin/collator/src/parachain/chain_spec/astar.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ fn make_genesis(
134134
evm: EVMConfig {
135135
// We need _some_ code inserted at the precompile address so that
136136
// the evm will actually call the address.
137-
accounts: Precompiles::used_addresses()
137+
accounts: Precompiles::used_addresses_h160()
138138
.map(|addr| {
139139
(
140140
addr,

bin/collator/src/parachain/chain_spec/shibuya.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ fn make_genesis(
142142
evm: EVMConfig {
143143
// We need _some_ code inserted at the precompile address so that
144144
// the evm will actually call the address.
145-
accounts: Precompiles::used_addresses()
145+
accounts: Precompiles::used_addresses_h160()
146146
.map(|addr| {
147147
(
148148
addr,

bin/collator/src/parachain/chain_spec/shiden.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn make_genesis(
136136
evm: EVMConfig {
137137
// We need _some_ code inserted at the precompile address so that
138138
// the evm will actually call the address.
139-
accounts: Precompiles::used_addresses()
139+
accounts: Precompiles::used_addresses_h160()
140140
.map(|addr| {
141141
(
142142
addr,

precompiles/utils/Cargo.toml

-66
This file was deleted.

precompiles/utils/macro/Cargo.toml

-43
This file was deleted.

0 commit comments

Comments
 (0)