hedera-services icon indicating copy to clipboard operation
hedera-services copied to clipboard

feat: Write tests for burn operations #12726

Open stefan-stefanooov opened this issue 10 months ago • 9 comments

Write E2E suites for HSCS operations affected by the security model Token Burn -->

Related issue(s): https://github.com/hashgraph/hedera-services/issues/12726 Fixes # https://github.com/hashgraph/hedera-services/issues/12726

stefan-stefanooov avatar Apr 25 '24 10:04 stefan-stefanooov

Node: HAPI Test (Restart) Results

2 tests   2 :white_check_mark:  8m 45s :stopwatch: 2 suites  0 :zzz: 2 files    0 :x:

Results for commit 9b21b83a.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]

Node: HAPI Test (Node Death Reconnect) Results

2 tests   2 :white_check_mark:  8m 57s :stopwatch: 2 suites  0 :zzz: 2 files    0 :x:

Results for commit 9b21b83a.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]

Node: HAPI Test (Token) Results

235 tests   233 :white_check_mark:  20m 43s :stopwatch:  17 suites    2 :zzz:  17 files      0 :x:

Results for commit 9b21b83a.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]

Node: HAPI Test (Misc) Results

464 tests   454 :white_check_mark:  41m 50s :stopwatch:  77 suites   10 :zzz:  77 files      0 :x:

Results for commit 9b21b83a.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]

Node: HAPI Test (Crypto) Results

335 tests   335 :white_check_mark:  39m 48s :stopwatch:  25 suites    0 :zzz:  25 files      0 :x:

Results for commit 9b21b83a.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]

Node: HAPI Test (Time Consuming) Results

21 tests   21 :white_check_mark:  53m 50s :stopwatch:  3 suites   0 :zzz:  3 files     0 :x:

Results for commit 9b21b83a.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 15:04 github-actions[bot]

Node: HAPI Test (Smart Contract) Results

592 tests   592 :white_check_mark:  1h 13m 40s :stopwatch:  63 suites    0 :zzz:  63 files      0 :x:

Results for commit 9b21b83a.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 16:04 github-actions[bot]

Node: Unit Test Results

  2 282 files  + 2    2 282 suites  +2   2h 35m 15s :stopwatch: + 22m 36s 118 827 tests +25  118 760 :white_check_mark: +25  67 :zzz: ±0  0 :x: ±0  127 315 runs  +28  127 248 :white_check_mark: +28  67 :zzz: ±0  0 :x: ±0 

Results for commit 9b21b83a. ± Comparison against base commit 0d82f26f.

This pull request removes 4009 and adds 3797 tests. Note that renamed tests count towards both.

  
             IssuerDN: CN=s-aaaa
            SubjectDN: CN=s-aaaa
           Final Date: Fri Jan 01 00:00:00 UTC 2100
           Public Key: RSA Public Key [2e:28:bc:1e:d3:83:25:92:8e:cb:98:b1:b6:84:06:9c:d5:d8:14:d5],[56:66:d1:a4]
           Start Date: Sat Jan 01 00:00:00 UTC 2000
         SerialNumber: 12482092706667292405
        modulus: c1a0ff5d2372b53d12d12bb87dd03f5e…
        modulus: c1a0ff5d2372b53d12d12bb87dd03f5…
…
com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [4] 

com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [6] 

com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [7]   
  
com.hedera.node.app.hapi.utils.ethereum.EthTxDataTest ‑ [1] LEGACY_ETHEREUM
com.hedera.node.app.hapi.utils.ethereum.EthTxDataTest ‑ [2] EIP2930
com.hedera.node.app.hapi.utils.ethereum.EthTxDataTest ‑ [3] EIP1559
com.hedera.node.app.service.evm.contracts.execution.HederaEvmTxProcessorTest ‑ assertSuccessExecution050()
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [10] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@3de7aa69
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [11] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@4a78977
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [12] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@487a613a
…

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Apr 25 '24 16:04 github-actions[bot]

In ContractKeysHTSV1SecurityModelSuite we have burnTokenWithFullPrefixAndPartialPrefixKeys() test that is not updated for v2. Is it on purpose?

Hey, @petreze I think it is.... the new name is V2SecurityBurnTokenWithFullPrefixAndPartialPrefixKeys. Am I missing something ?

stefan-stefanooov avatar May 07 '24 09:05 stefan-stefanooov