Closed sakuyacatcat closed 8 months ago
@sakuyacatcat
.@motemotech inadvertently pushed his local development branch to the remote develop branch. I have since rolled back his changes, and our tests are now running successfully. Thank you for bringing this to our attention!
I confirmed all test cases passed green, so I close this issue.
> forge test -vvv
[⠒] Compiling...
No files changed, compilation skipped
Running 6 tests for test/libraries/RsaVerify.t.sol:TestRsaVerify
[PASS] test_FailRsaVerify() (gas: 327914)
[PASS] test_ShouldHaveProperPrefix() (gas: 268369)
[PASS] test_ShouldHaveValidDelimiter() (gas: 327585)
[PASS] test_ShouldHaveValidPadding() (gas: 317988)
[PASS] test_ShouldUseProperSHA256DEREncoding() (gas: 327671)
[PASS] test_SuccessRsaVerify() (gas: 327778)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 693.17µs
Running 1 test for test/deploy/deploy.t.sol:DeployTest
[PASS] testDeploy() (gas: 848136)
Logs:
0xcc30b4b050cf1525f704f55e914a3d1909fc3f1ae88a2edde5d60287f8feea9b
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.81ms
Ran 2 test suites: 7 tests passed, 0 failed, 0 skipped (7 total tests)
Prevent this situation, create another issue #27 to introduce cicd to contracts
directory.
What command(s) is the bug in?
cd packages/contracts && forge test -vv
Describe the bug
Current Situation
On
develop
branch In this repo, unittest failed as the following log. This happened not only my local env. @susumutomita encountered the same situation.But on
develop
branch in the past contracts repo, unittest passed.Revealed Fact
Inconsistencies between the
develop
branches of two repositories:myna-wallet-monorepo
andcontracts
.Comparison results
Here are the results from comparing key directories of the
contracts
code in both repositories.Scripts:
Source Codes:
Tests:
Concrete steps to reproduce the bug. If it's able reproduce via testool, please share
test_id
from jenkins reportcd packages/contracts/
.env
fileforge install
forge test -vv