Skip to content

feat: Introduce software update admin #12489

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

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

netopyr
Copy link
Contributor

@netopyr netopyr commented Apr 2, 2024

This PR introduces a new admin role for software updates. At the same time, it takes the privilege of uploading software updates from the freeze admin.

@netopyr netopyr added this to the v0.49 milestone Apr 2, 2024
@netopyr netopyr self-assigned this Apr 2, 2024
@netopyr netopyr requested a review from a team April 2, 2024 11:15
@netopyr netopyr requested a review from a team as a code owner April 2, 2024 11:15
@netopyr netopyr changed the title chore: Introduce software update admin feat: Introduce software update admin Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Restart) Results

2 tests   2 ✅  5m 35s ⏱️
2 suites  0 💤
2 files    0 ❌

Results for commit cb40ec3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Node Death Reconnect) Results

1 tests   1 ✅  19s ⏱️
1 suites  0 💤
2 files    0 ❌
1 errors

For more details on these parsing errors, see this check.

Results for commit cb40ec3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Token) Results

207 tests   207 ✅  21m 16s ⏱️
 16 suites    0 💤
 16 files      0 ❌

Results for commit cb40ec3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Crypto) Results

310 tests   310 ✅  53m 18s ⏱️
 25 suites    0 💤
 25 files      0 ❌

Results for commit cb40ec3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Misc) Results

445 tests   435 ✅  50m 53s ⏱️
 77 suites   10 💤
 77 files      0 ❌

Results for commit cb40ec3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Time Consuming) Results

21 tests   21 ✅  54m 39s ⏱️
 3 suites   0 💤
 3 files     0 ❌

Results for commit cb40ec3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Smart Contract) Results

509 tests   509 ✅  1h 6m 10s ⏱️
 55 suites    0 💤
 55 files      0 ❌

Results for commit cb40ec3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: Unit Test Results

  2 271 files  ±0    2 271 suites  ±0   2h 24m 6s ⏱️ - 1h 16m 17s
112 211 tests +3  112 115 ✅ +4  96 💤 ±0  0 ❌  - 1 
120 693 runs  +3  120 596 ✅ +4  97 💤 ±0  0 ❌  - 1 

Results for commit cb40ec3. ± Comparison against base commit 42e87a9.

This pull request removes 3961 and adds 3734 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.authorization.PrivilegesVerifierTest ‑ softwareUpdateAdminCanUpdateExpected()
com.hedera.node.app.authorization.PrivilegesVerifierTest ‑ softwareUpdateAdminCanUpdateZipFile()
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.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [10] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@1e11b6e8
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [11] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@8b90fc4a
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [12] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@bebcd265
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [13] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@3c810999
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [14] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@7260f495
…

♻️ This comment has been updated with latest results.

@netopyr netopyr requested a review from tinker-michaelj April 3, 2024 17:31
Copy link
Contributor

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ty @netopyr !

@netopyr netopyr merged commit 0683086 into develop Apr 4, 2024
@netopyr netopyr deleted the 11834-update-software-upload-privilege branch April 4, 2024 14:13
netopyr added a commit that referenced this pull request Apr 4, 2024
* develop:
  feat: Introduce software update admin (#12489)
  feat: Remove getOtherId (#12465)
  fix: tokenAssociate throws IndexOutOfBoundsException (#12552)
  fix: enable HelloWorldEthereumSuite hapi tests (#11602)
  fix: tokenAssociate throws IndexOutOfBoundsException (#12453)
  fix: treat an out-of-range allowance amount as an invalid op (#12445)
  feat: restrict qualified delegates to appropriate transfer functions only (#12358)
  feat: move the JVM anchor into the wiring model (#12534)
  feat: Automate scheduler construction for the event deduplicator (#12527)
  feat: cleaner wiring for complete state nexus (#12502)
  fix: finalize stake metadata only once per transaction (#12537)
  feat: platform component builder (#12499)
  feat: address book serializes text hostnames (#12515)
  feat: improve bottom half of the wiring diagram (#12511)
  refactor: Migrate some tests to use event test util (#12471)
  test: security v2 model - add test for token associate with callcode (#12168)
  chore: Added extra-checks to prevent unchecked submits (#12436)
  chore: Change owner of DEV configuration (#12523)
  feat: construct schedulers automatically (#12504)
  feat: Cherry-pick: Pass Metrics to created VirtualMaps (#12495)

# Conflicts:
#	hedera-node/hedera-app/src/main/java/com/hedera/node/app/workflows/handle/HandleContextImpl.java
@poulok poulok modified the milestones: v0.49, v0.50 Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants