This website requires JavaScript.
Explore
Help
Sign In
logos-storage
/
logos-storage-nim
Watch
1
Star
0
Fork
0
You've already forked logos-storage-nim
mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced
2026-01-07 16:03:13 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
logos-storage-nim
/
tests
/
testContracts.nim
5 lines
98 B
Nim
Raw
Normal View
History
Unescape
Escape
[contracts] Update to new collateral design
2022-03-15 17:29:56 +01:00
import
.
/
contracts
/
testCollateral
feat: integrate dagger contracts Integrate dagger contracts from `nim-dagger-contracts` repo. Add `dagger-contracts`, `nim-web3`, and all of `nim-web3`’s transitive deps as submodule deps to `nim-dagger`. Note: `nim-web3` and its transitive deps may no longer be needed when we switch to `nim-ethers`. Add a `testContracts` nimble task to test all of the contracts functionality. Namely, this spins up an ethereum simulator, deploys the contracts (in `dagger-contracts`), runs the contract tests, and finally, regardless of success/error, kills the ethereum sim processes. The nimble task can be run with `./env.sh nimble testContracts`. We also tested `nim-dagger-contracts` as a submodule dep of `nim-dagger`, and while the tests run as expected, the preference is to merge `nim-dagger-contracts` inside of `nim-dagger` for ease of parallel development. There’s also a high probability that `nim-dagger-contracts` is not being used as a dep by other projects. Are there any strong objections to this? Co-authored-by: Michael Bradley <michaelsbradleyjr@gmail.com>
2022-01-25 11:22:58 +11:00
import
.
/
contracts
/
testContracts
[contracts] Update to new collateral design
2022-03-15 17:29:56 +01:00
{.
warning
[
UnusedImport
]
:
off
.
}
Reference in New Issue
Copy Permalink