darwinia-network / bridger

Relayer client implementation for Darwinia LCMP protocols.
https://rust-docs.darwinia.network/bridger
GNU General Public License v3.0
12 stars 10 forks source link

duplicate scan block number #158

Closed xiaoch05 closed 3 years ago

xiaoch05 commented 3 years ago

https://github.com/darwinia-network/bridger/blob/20a5a3acdbc71845be8a8b425ac0d55c865c4a9b/src/service/ethereum.rs#L97

scan_from should be latest_block_number+1

hackfisher commented 3 years ago

@wuminzhe Has this already been fixed in latest code?

hackfisher commented 3 years ago

@xiaoch05 Please help check wether this issue still exists, and please help fix it if yes.

xiaoch05 commented 3 years ago

this has been solved. See https://github.com/darwinia-network/bridger/blob/master/supports/evm-log-tracker/src/evm_log_tracker.rs#L76