Very interesting problem.
Could someone give me a hint?
What different between these 2 code?
git clone https://github.com/darwinia-network/darwinia-common.git
git checkout bear-precompiles-to-one
cd darwinia-common
cd frame/dvm
cargo t
then failed
git clone https://github.com/darwinia-network/darwinia-common.git
git checkout bear-precompiles-to-one
cd darwinia-common
cargo c
everything works good
here's a generic impl https://github.com/darwinia-network/darwinia-common/blob/bear-precompiles-to-one/frame/evm/precompile/contracts/transfer/src/lib.rs#L46-L47
for the first code, I already impl dvm_ethereum::Config for Test
https://github.com/darwinia-network/darwinia-common/blob/bear-precompiles-to-one/frame/dvm/src/mock.rs#L194
for the second code, I already impl dvm_ethereum::Config for Runtime
https://github.com/darwinia-network/darwinia-common/blob/bear-precompiles-to-one/bin/node/runtime/pangolin/src/pallets/dvm.rs#L22
why the compiler complain about the the trait xxx is not implemented for xxx (with first code)