Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract unit test is no longer running on CI #903

Open
ailisp opened this issue Oct 22, 2024 · 0 comments
Open

Contract unit test is no longer running on CI #903

ailisp opened this issue Oct 22, 2024 · 0 comments

Comments

@ailisp
Copy link
Member

ailisp commented Oct 22, 2024

Unit tests only includes mpc-recovery (FastAuth), also, contract unit tests are failing locally:

cargo test --package mpc-contract --test sign test_contract_sign_request -- --exact

Err(Error { repr: Detailed { kind: Execution, error: ExecutionResult { total_gas_burnt: NearGas { inner: 49429906939945 }, transaction: ExecutionOutcome { transaction_hash: CoYJL2czoPcY1cmV1jmEQgirE6jku7fDpVfPJtgzoCFV, block_hash: BnRSy1GBEADs8uAtdVHULxh5mjt13EsCKKdfF5YH8pxb, logs: [], receipt_ids: [3MAJ4Pr3y38fx8bpuKQKJa2Z25xpDg11pWDemN89pr3J], gas_burnt: NearGas { inner: 45025482314945 }, tokens_burnt: NearToken { inner: 4502548231494500000000 }, executor_id: AccountId("registrar"), status: SuccessReceiptId(3MAJ4Pr3y38fx8bpuKQKJa2Z25xpDg11pWDemN89pr3J) }, receipts: [ExecutionOutcome { transaction_hash: 3MAJ4Pr3y38fx8bpuKQKJa2Z25xpDg11pWDemN89pr3J, block_hash: 2neyiK9GbLA9DDYtDDJ3zqByNd5XmsWKSrKMuWnT3TCX, logs: [], receipt_ids: [ECQcKP9cD41q4AdYsUDXYtDSRnVLrsFGhdxbvMzjPbU4, 3bnwv6Q7ssJ1gm7tKuKNhsbUo4gQ3H6MZYbhoQpLmj76], gas_burnt: NearGas { inner: 3958059500000 }, tokens_burnt: NearToken { inner: 395805950000000000000 }, executor_id: AccountId("dev-20241022025233-39231343757795.test.near"), status: Failure(ActionError(ActionError { index: Some(0), kind: CreateAccountNotAllowed { account_id: AccountId("dev-20241022025233-39231343757795.test.near"), predecessor_id: AccountId("registrar") } })) }, ExecutionOutcome { transaction_hash: ECQcKP9cD41q4AdYsUDXYtDSRnVLrsFGhdxbvMzjPbU4, block_hash: 6wHPtGpjmACu1vcsPqU5mr8KAUBeU5C4vbW31UvBTKAN, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500 }, tokens_burnt: NearToken { inner: 0 }, executor_id: AccountId("registrar"), status: SuccessValue('') }, ExecutionOutcome { transaction_hash: 3bnwv6Q7ssJ1gm7tKuKNhsbUo4gQ3H6MZYbhoQpLmj76, block_hash: 6wHPtGpjmACu1vcsPqU5mr8KAUBeU5C4vbW31UvBTKAN, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500 }, tokens_burnt: NearToken { inner: 0 }, executor_id: AccountId("registrar"), status: SuccessValue('') }], value: ActionError(ActionError { index: Some(0), kind: CreateAccountNotAllowed { account_id: AccountId("dev-20241022025233-39231343757795.test.near"), predecessor_id: AccountId("registrar") } }) } } })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Selected
Development

No branches or pull requests

1 participant