issues
search
starcoinorg
/
starcoin
Starcoin - A Move smart contract blockchain network that scales by layering
Apache License 2.0
1.38k
stars
289
forks
source link
NetworkAsyncService as trait
#209
Closed
jolestar
closed
4 years ago
jolestar
commented
4 years ago
NetworkAsyncService 应该是一个 trait,并提供一个 Mock 的实现。
依赖 NetworkAsyncService 的 module 不需要依赖 NetworkAsyncService 的具体实现,可以通过 Mock 来测试。
fanngyuan
commented
4 years ago
https://github.com/starcoinorg/starcoin/pull/268