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

Bump crypto from 22.1.0 to 22.1.1 #2930

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 28, 2022

Bumps crypto from 22.1.0 to 22.1.1.

Release notes

Sourced from crypto's releases.

22.1.1

Additions and Improvements

  • Allow optional RPC methods that bypass authentication #3382
  • Execution layer (The Merge):
    • Extend block creation and mining to support The Merge #3412
    • Backward sync #3410
    • Extend validateAndProcessBlock to return an error message in case of failure, so it can be returned to the caller of ExecutePayload API #3411
    • Persist latest finalized block #2913
    • Add PostMergeContext, and stop syncing after the swith to PoS #3453
    • Add header validation rules needed to validate The Merge blocks #3454
    • Add core components: controller builder, protocol scheduler, coordinator, block creator and processor. #3461
    • Execution specific RPC endpoint #2914, #3350
  • QBFT consensus algorithm is production ready

Download Links

Changelog

Sourced from crypto's changelog.

22.1.1

Additions and Improvements

  • Allow optional RPC methods that bypass authentication #3382
  • Execution layer (The Merge):
    • Extend block creation and mining to support The Merge #3412
    • Backward sync #3410
    • Extend validateAndProcessBlock to return an error message in case of failure, so it can be returned to the caller of ExecutePayload API #3411
    • Persist latest finalized block #2913
    • Add PostMergeContext, and stop syncing after the swith to PoS #3453
    • Add header validation rules needed to validate The Merge blocks #3454
    • Add core components: controller builder, protocol scheduler, coordinator, block creator and processor. #3461
    • Execution specific RPC endpoint #2914, #3350
  • QBFT consensus algorithm is production ready

Download Links

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [crypto](https://github.com/hyperledger/besu) from 22.1.0 to 22.1.1.
- [Release notes](https://github.com/hyperledger/besu/releases)
- [Changelog](https://github.com/hyperledger/besu/blob/main/CHANGELOG.md)
- [Commits](hyperledger/besu@22.1.0...22.1.1)

---
updated-dependencies:
- dependency-name: org.hyperledger.besu.internal:crypto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file Java Pull requests that update Java code labels Feb 28, 2022
@codecov
Copy link

codecov bot commented Feb 28, 2022

Codecov Report

Merging #2930 (bd07e48) into master (3b542b7) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2930      +/-   ##
============================================
+ Coverage     95.96%   95.98%   +0.01%     
- Complexity    10392    10395       +3     
============================================
  Files           722      722              
  Lines         28632    28632              
  Branches       3006     3006              
============================================
+ Hits          27478    27483       +5     
+ Misses          567      563       -4     
+ Partials        587      586       -1     
Impacted Files Coverage Δ
...om/hedera/services/stream/RecordStreamManager.java 97.53% <0.00%> (+2.46%) ⬆️
...ervices/legacy/proto/utils/SignatureGenerator.java 100.00% <0.00%> (+9.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b542b7...bd07e48. Read the comment docs.

Copy link
Contributor

@qnswirlds qnswirlds left a comment

Choose a reason for hiding this comment

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

@dependabot squash and merge

@dependabot dependabot bot merged commit 1dce007 into master Mar 11, 2022
@dependabot dependabot bot deleted the dependabot/maven/org.hyperledger.besu.internal-crypto-22.1.1 branch March 11, 2022 04:57
anighanta pushed a commit that referenced this pull request Mar 15, 2022
)

* Use June 10, 2022 system entity expiry to simplify DevOps workflows

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove gRPC intermediary from `EvmFnResult` construction (#2954)

* Initial commit with EvmFnResultBench

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Re-enable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Avoid gRPC intermediary in creating ExpirableTxnRecord w/ call result

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Include benchmarks directory in build image

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove duplicate code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment EETs

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix approve/allowance issue with INFINITE supply type fungible tokens (#2956)

* Fix approve/allowance issue with INFINITE supply type fungible tokens

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Fix unit tests for approve/adjust allowance checks

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Remove all `FCOneToManyRelation` use and update EETs to only verify NOT… (#2962)

* Remove all FCOneToManyRelation use and update EETs to only verify NOT_SUPPORTED

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unused tokens.nfts.areQueriesEnabled property, MerkleUniqueTokenId class

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Bump crypto from 22.1.0 to 22.1.1 (#2930)

* Bump log4j.version from 2.17.1 to 2.17.2 (#2931)

* Update maven version in Dockerfile - 3.8.4 is missing from https://dlcdn.apache.org/maven/maven-3/ (#2975)

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Back `AliasManager` with `FCHashMap` from `StateMetadata` (#2969)

* Remove unnecessary StateAccessor wrapper

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Add the aliases FCHashMap<ByteString, EntityNum> to state metadata and MutableStateChildren

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Switch to FCHashMap in AliasManager

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use separate AliasManager in StateChildrenSigMetadataLookup

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Eliminate unnecessary use of TokenStore in StateView

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Address reviewer comments

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix StateModule.provideWorkingAliases() signature

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use receiver (not sender address) to infer expiry of just-created contract (#2967)

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Reenable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment suites

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix javadoc, code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove the intermediary TransferList for converting to CurrencyAdjustments (#2966)

* initial commit

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* use static constant

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update benchmark to have purging adjustments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update changes array size to 10

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* change to modify in place

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* address review comments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* reset tracker every invocation

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* remove `numHbarBalancesChangedSoFar` pased to `CurrencyAdjustments`

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* ALWAYS copy the arrays passed into `CurrencyAdjustments` to avoid problems

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

Co-authored-by: tinker-michaelj <michael.tinker@hedera.com>

* Add fee to record, expiry to new account in `AutoCreationLogic` (#2979)

* Add fee to record, expiry to new account in AutoCreationLogic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Stabilize CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all but one unit test 😓

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all unit tests, remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>
rjuang pushed a commit that referenced this pull request Mar 15, 2022
Signed-off-by: Ray Juang <radford.juang@hedera.com>
anighanta added a commit that referenced this pull request Mar 16, 2022
* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* port away from MerkleAccountTokens

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* feature complete.. need unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix HTSPrecompiledContract with the right assocationLogic

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* eet for demo

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove assocaition limit on token per account and getAccountInfo query should only return the next 1000 assocaitions

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* comment out irrelevant specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* handle empty ids array

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only persist the tokenIdsIndex on the acutal getInfo query

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add a limit of 1 token association to prove the limit doenst mean a thing anymore

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* make account getInfo query only return the first n token association in the getInfo query on an account/contract where n is dynamic prop

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove dead code

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add even more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant eet specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add back the deleted MerkleAccountTokens for backward compatibility until the next release

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update the MerkleAccount back to having tokens but dont use them anywhere and during migrations update the links in MapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test for migration of MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fixed the euqality check for migrating MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add asserts to getInfo for validating we only give out tokenAssocaitions limited by the setting tokens.maxPerAccount

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove commented out irrelavent tests and fix dissocaition workflow to use tokenRelations from a  instaed of loading it again

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* resolve code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* skip vlaidating zero token balances on account delete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add missing imports

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* use MerkleAccount getter instead of MerkleAccountState ones

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update zeroBalance token assocaitions count on burn, mint and wipe actions as well

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix failing unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added back the token balance check on crypotDelete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test coverage on servicesState

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only decrement numZeroBalance when dissociating if the association balance is zero

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* move updating the association and zeroBalance counter to before updating relationships for dissociation

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix comparing alias address

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* Resolve merge conflicts, maximize reuse of `doBoundedIteration()` (#2984)

* Use June 10, 2022 system entity expiry to simplify DevOps workflows

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove gRPC intermediary from `EvmFnResult` construction (#2954)

* Initial commit with EvmFnResultBench

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Re-enable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Avoid gRPC intermediary in creating ExpirableTxnRecord w/ call result

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Include benchmarks directory in build image

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove duplicate code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment EETs

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix approve/allowance issue with INFINITE supply type fungible tokens (#2956)

* Fix approve/allowance issue with INFINITE supply type fungible tokens

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Fix unit tests for approve/adjust allowance checks

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Remove all `FCOneToManyRelation` use and update EETs to only verify NOT… (#2962)

* Remove all FCOneToManyRelation use and update EETs to only verify NOT_SUPPORTED

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unused tokens.nfts.areQueriesEnabled property, MerkleUniqueTokenId class

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Bump crypto from 22.1.0 to 22.1.1 (#2930)

* Bump log4j.version from 2.17.1 to 2.17.2 (#2931)

* Update maven version in Dockerfile - 3.8.4 is missing from https://dlcdn.apache.org/maven/maven-3/ (#2975)

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Back `AliasManager` with `FCHashMap` from `StateMetadata` (#2969)

* Remove unnecessary StateAccessor wrapper

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Add the aliases FCHashMap<ByteString, EntityNum> to state metadata and MutableStateChildren

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Switch to FCHashMap in AliasManager

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use separate AliasManager in StateChildrenSigMetadataLookup

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Eliminate unnecessary use of TokenStore in StateView

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Address reviewer comments

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix StateModule.provideWorkingAliases() signature

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use receiver (not sender address) to infer expiry of just-created contract (#2967)

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Reenable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment suites

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix javadoc, code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove the intermediary TransferList for converting to CurrencyAdjustments (#2966)

* initial commit

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* use static constant

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update benchmark to have purging adjustments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update changes array size to 10

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* change to modify in place

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* address review comments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* reset tracker every invocation

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* remove `numHbarBalancesChangedSoFar` pased to `CurrencyAdjustments`

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* ALWAYS copy the arrays passed into `CurrencyAdjustments` to avoid problems

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

Co-authored-by: tinker-michaelj <michael.tinker@hedera.com>

* Add fee to record, expiry to new account in `AutoCreationLogic` (#2979)

* Add fee to record, expiry to new account in AutoCreationLogic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Stabilize CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all but one unit test 😓

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all unit tests, remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>

* Add javadoc and unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unnecessary object creation in doBoundedIteration

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Be more idiomatic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Michael Tinker <michael.tinker@hedera.com>
Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>
rjuang pushed a commit that referenced this pull request Mar 23, 2022
Signed-off-by: Ray Juang <radford.juang@hedera.com>
rjuang pushed a commit that referenced this pull request Mar 23, 2022
* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* port away from MerkleAccountTokens

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* feature complete.. need unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix HTSPrecompiledContract with the right assocationLogic

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* eet for demo

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove assocaition limit on token per account and getAccountInfo query should only return the next 1000 assocaitions

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* comment out irrelevant specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* handle empty ids array

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only persist the tokenIdsIndex on the acutal getInfo query

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add a limit of 1 token association to prove the limit doenst mean a thing anymore

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* make account getInfo query only return the first n token association in the getInfo query on an account/contract where n is dynamic prop

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove dead code

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add even more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant eet specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add back the deleted MerkleAccountTokens for backward compatibility until the next release

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update the MerkleAccount back to having tokens but dont use them anywhere and during migrations update the links in MapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test for migration of MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fixed the euqality check for migrating MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add asserts to getInfo for validating we only give out tokenAssocaitions limited by the setting tokens.maxPerAccount

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove commented out irrelavent tests and fix dissocaition workflow to use tokenRelations from a  instaed of loading it again

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* resolve code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* skip vlaidating zero token balances on account delete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add missing imports

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* use MerkleAccount getter instead of MerkleAccountState ones

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update zeroBalance token assocaitions count on burn, mint and wipe actions as well

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix failing unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added back the token balance check on crypotDelete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test coverage on servicesState

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only decrement numZeroBalance when dissociating if the association balance is zero

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* move updating the association and zeroBalance counter to before updating relationships for dissociation

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix comparing alias address

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* Resolve merge conflicts, maximize reuse of `doBoundedIteration()` (#2984)

* Use June 10, 2022 system entity expiry to simplify DevOps workflows

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove gRPC intermediary from `EvmFnResult` construction (#2954)

* Initial commit with EvmFnResultBench

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Re-enable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Avoid gRPC intermediary in creating ExpirableTxnRecord w/ call result

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Include benchmarks directory in build image

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove duplicate code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment EETs

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix approve/allowance issue with INFINITE supply type fungible tokens (#2956)

* Fix approve/allowance issue with INFINITE supply type fungible tokens

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Fix unit tests for approve/adjust allowance checks

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Remove all `FCOneToManyRelation` use and update EETs to only verify NOT… (#2962)

* Remove all FCOneToManyRelation use and update EETs to only verify NOT_SUPPORTED

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unused tokens.nfts.areQueriesEnabled property, MerkleUniqueTokenId class

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Bump crypto from 22.1.0 to 22.1.1 (#2930)

* Bump log4j.version from 2.17.1 to 2.17.2 (#2931)

* Update maven version in Dockerfile - 3.8.4 is missing from https://dlcdn.apache.org/maven/maven-3/ (#2975)

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Back `AliasManager` with `FCHashMap` from `StateMetadata` (#2969)

* Remove unnecessary StateAccessor wrapper

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Add the aliases FCHashMap<ByteString, EntityNum> to state metadata and MutableStateChildren

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Switch to FCHashMap in AliasManager

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use separate AliasManager in StateChildrenSigMetadataLookup

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Eliminate unnecessary use of TokenStore in StateView

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Address reviewer comments

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix StateModule.provideWorkingAliases() signature

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use receiver (not sender address) to infer expiry of just-created contract (#2967)

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Reenable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment suites

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix javadoc, code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove the intermediary TransferList for converting to CurrencyAdjustments (#2966)

* initial commit

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* use static constant

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update benchmark to have purging adjustments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update changes array size to 10

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* change to modify in place

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* address review comments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* reset tracker every invocation

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* remove `numHbarBalancesChangedSoFar` pased to `CurrencyAdjustments`

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* ALWAYS copy the arrays passed into `CurrencyAdjustments` to avoid problems

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

Co-authored-by: tinker-michaelj <michael.tinker@hedera.com>

* Add fee to record, expiry to new account in `AutoCreationLogic` (#2979)

* Add fee to record, expiry to new account in AutoCreationLogic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Stabilize CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all but one unit test 😓

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all unit tests, remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>

* Add javadoc and unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unnecessary object creation in doBoundedIteration

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Be more idiomatic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Michael Tinker <michael.tinker@hedera.com>
Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>
rjuang pushed a commit that referenced this pull request Mar 23, 2022
Signed-off-by: Ray Juang <radford.juang@hedera.com>
rjuang pushed a commit that referenced this pull request Mar 23, 2022
* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* port away from MerkleAccountTokens

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* feature complete.. need unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix HTSPrecompiledContract with the right assocationLogic

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* eet for demo

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove assocaition limit on token per account and getAccountInfo query should only return the next 1000 assocaitions

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* comment out irrelevant specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* handle empty ids array

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only persist the tokenIdsIndex on the acutal getInfo query

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add a limit of 1 token association to prove the limit doenst mean a thing anymore

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* make account getInfo query only return the first n token association in the getInfo query on an account/contract where n is dynamic prop

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove dead code

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add even more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant eet specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add back the deleted MerkleAccountTokens for backward compatibility until the next release

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update the MerkleAccount back to having tokens but dont use them anywhere and during migrations update the links in MapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test for migration of MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fixed the euqality check for migrating MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add asserts to getInfo for validating we only give out tokenAssocaitions limited by the setting tokens.maxPerAccount

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove commented out irrelavent tests and fix dissocaition workflow to use tokenRelations from a  instaed of loading it again

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* resolve code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* skip vlaidating zero token balances on account delete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add missing imports

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* use MerkleAccount getter instead of MerkleAccountState ones

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update zeroBalance token assocaitions count on burn, mint and wipe actions as well

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix failing unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added back the token balance check on crypotDelete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test coverage on servicesState

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only decrement numZeroBalance when dissociating if the association balance is zero

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* move updating the association and zeroBalance counter to before updating relationships for dissociation

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix comparing alias address

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* Resolve merge conflicts, maximize reuse of `doBoundedIteration()` (#2984)

* Use June 10, 2022 system entity expiry to simplify DevOps workflows

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove gRPC intermediary from `EvmFnResult` construction (#2954)

* Initial commit with EvmFnResultBench

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Re-enable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Avoid gRPC intermediary in creating ExpirableTxnRecord w/ call result

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Include benchmarks directory in build image

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove duplicate code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment EETs

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix approve/allowance issue with INFINITE supply type fungible tokens (#2956)

* Fix approve/allowance issue with INFINITE supply type fungible tokens

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Fix unit tests for approve/adjust allowance checks

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Remove all `FCOneToManyRelation` use and update EETs to only verify NOT… (#2962)

* Remove all FCOneToManyRelation use and update EETs to only verify NOT_SUPPORTED

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unused tokens.nfts.areQueriesEnabled property, MerkleUniqueTokenId class

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Bump crypto from 22.1.0 to 22.1.1 (#2930)

* Bump log4j.version from 2.17.1 to 2.17.2 (#2931)

* Update maven version in Dockerfile - 3.8.4 is missing from https://dlcdn.apache.org/maven/maven-3/ (#2975)

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Back `AliasManager` with `FCHashMap` from `StateMetadata` (#2969)

* Remove unnecessary StateAccessor wrapper

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Add the aliases FCHashMap<ByteString, EntityNum> to state metadata and MutableStateChildren

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Switch to FCHashMap in AliasManager

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use separate AliasManager in StateChildrenSigMetadataLookup

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Eliminate unnecessary use of TokenStore in StateView

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Address reviewer comments

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix StateModule.provideWorkingAliases() signature

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use receiver (not sender address) to infer expiry of just-created contract (#2967)

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Reenable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment suites

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix javadoc, code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove the intermediary TransferList for converting to CurrencyAdjustments (#2966)

* initial commit

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* use static constant

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update benchmark to have purging adjustments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update changes array size to 10

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* change to modify in place

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* address review comments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* reset tracker every invocation

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* remove `numHbarBalancesChangedSoFar` pased to `CurrencyAdjustments`

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* ALWAYS copy the arrays passed into `CurrencyAdjustments` to avoid problems

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

Co-authored-by: tinker-michaelj <michael.tinker@hedera.com>

* Add fee to record, expiry to new account in `AutoCreationLogic` (#2979)

* Add fee to record, expiry to new account in AutoCreationLogic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Stabilize CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all but one unit test 😓

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all unit tests, remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>

* Add javadoc and unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unnecessary object creation in doBoundedIteration

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Be more idiomatic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Michael Tinker <michael.tinker@hedera.com>
Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>
Signed-off-by: Ray Juang <radford.juang@hedera.com>
rjuang pushed a commit that referenced this pull request Mar 23, 2022
* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* port away from MerkleAccountTokens

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* feature complete.. need unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix HTSPrecompiledContract with the right assocationLogic

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* eet for demo

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove assocaition limit on token per account and getAccountInfo query should only return the next 1000 assocaitions

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* comment out irrelevant specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* handle empty ids array

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only persist the tokenIdsIndex on the acutal getInfo query

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add a limit of 1 token association to prove the limit doenst mean a thing anymore

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* make account getInfo query only return the first n token association in the getInfo query on an account/contract where n is dynamic prop

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove dead code

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add even more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant eet specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add back the deleted MerkleAccountTokens for backward compatibility until the next release

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update the MerkleAccount back to having tokens but dont use them anywhere and during migrations update the links in MapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test for migration of MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fixed the euqality check for migrating MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add asserts to getInfo for validating we only give out tokenAssocaitions limited by the setting tokens.maxPerAccount

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove commented out irrelavent tests and fix dissocaition workflow to use tokenRelations from a  instaed of loading it again

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* resolve code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* skip vlaidating zero token balances on account delete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add missing imports

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* use MerkleAccount getter instead of MerkleAccountState ones

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update zeroBalance token assocaitions count on burn, mint and wipe actions as well

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix failing unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added back the token balance check on crypotDelete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test coverage on servicesState

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only decrement numZeroBalance when dissociating if the association balance is zero

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* move updating the association and zeroBalance counter to before updating relationships for dissociation

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix comparing alias address

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* Resolve merge conflicts, maximize reuse of `doBoundedIteration()` (#2984)

* Use June 10, 2022 system entity expiry to simplify DevOps workflows

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove gRPC intermediary from `EvmFnResult` construction (#2954)

* Initial commit with EvmFnResultBench

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Re-enable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Avoid gRPC intermediary in creating ExpirableTxnRecord w/ call result

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Include benchmarks directory in build image

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove duplicate code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment EETs

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix approve/allowance issue with INFINITE supply type fungible tokens (#2956)

* Fix approve/allowance issue with INFINITE supply type fungible tokens

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Fix unit tests for approve/adjust allowance checks

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Remove all `FCOneToManyRelation` use and update EETs to only verify NOT… (#2962)

* Remove all FCOneToManyRelation use and update EETs to only verify NOT_SUPPORTED

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unused tokens.nfts.areQueriesEnabled property, MerkleUniqueTokenId class

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Bump crypto from 22.1.0 to 22.1.1 (#2930)

* Bump log4j.version from 2.17.1 to 2.17.2 (#2931)

* Update maven version in Dockerfile - 3.8.4 is missing from https://dlcdn.apache.org/maven/maven-3/ (#2975)

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Back `AliasManager` with `FCHashMap` from `StateMetadata` (#2969)

* Remove unnecessary StateAccessor wrapper

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Add the aliases FCHashMap<ByteString, EntityNum> to state metadata and MutableStateChildren

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Switch to FCHashMap in AliasManager

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use separate AliasManager in StateChildrenSigMetadataLookup

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Eliminate unnecessary use of TokenStore in StateView

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Address reviewer comments

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix StateModule.provideWorkingAliases() signature

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use receiver (not sender address) to infer expiry of just-created contract (#2967)

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Reenable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment suites

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix javadoc, code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove the intermediary TransferList for converting to CurrencyAdjustments (#2966)

* initial commit

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* use static constant

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update benchmark to have purging adjustments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update changes array size to 10

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* change to modify in place

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* address review comments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* reset tracker every invocation

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* remove `numHbarBalancesChangedSoFar` pased to `CurrencyAdjustments`

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* ALWAYS copy the arrays passed into `CurrencyAdjustments` to avoid problems

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

Co-authored-by: tinker-michaelj <michael.tinker@hedera.com>

* Add fee to record, expiry to new account in `AutoCreationLogic` (#2979)

* Add fee to record, expiry to new account in AutoCreationLogic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Stabilize CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all but one unit test 😓

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all unit tests, remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>

* Add javadoc and unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unnecessary object creation in doBoundedIteration

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Be more idiomatic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Michael Tinker <michael.tinker@hedera.com>
Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>
anighanta added a commit that referenced this pull request Mar 29, 2022
* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* port away from MerkleAccountTokens

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* feature complete.. need unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix HTSPrecompiledContract with the right assocationLogic

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* eet for demo

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove assocaition limit on token per account and getAccountInfo query should only return the next 1000 assocaitions

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* comment out irrelevant specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* handle empty ids array

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only persist the tokenIdsIndex on the acutal getInfo query

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add a limit of 1 token association to prove the limit doenst mean a thing anymore

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* make account getInfo query only return the first n token association in the getInfo query on an account/contract where n is dynamic prop

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove dead code

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add even more unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove irrelevant eet specs

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add back the deleted MerkleAccountTokens for backward compatibility until the next release

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update the MerkleAccount back to having tokens but dont use them anywhere and during migrations update the links in MapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test for migration of MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fixed the euqality check for migrating MerkleAccountTokens to mapValuedLinkedList

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add asserts to getInfo for validating we only give out tokenAssocaitions limited by the setting tokens.maxPerAccount

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* remove commented out irrelavent tests and fix dissocaition workflow to use tokenRelations from a  instaed of loading it again

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* resolve code smells

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* initial commit

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* skip vlaidating zero token balances on account delete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add missing imports

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* use MerkleAccount getter instead of MerkleAccountState ones

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* update zeroBalance token assocaitions count on burn, mint and wipe actions as well

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix failing unit tests

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* added back the token balance check on crypotDelete transaction

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* add unit test coverage on servicesState

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* only decrement numZeroBalance when dissociating if the association balance is zero

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* move updating the association and zeroBalance counter to before updating relationships for dissociation

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix comparing alias address

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* address review comments

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* Resolve merge conflicts, maximize reuse of `doBoundedIteration()` (#2984)

* Use June 10, 2022 system entity expiry to simplify DevOps workflows

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove gRPC intermediary from `EvmFnResult` construction (#2954)

* Initial commit with EvmFnResultBench

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Re-enable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Avoid gRPC intermediary in creating ExpirableTxnRecord w/ call result

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Include benchmarks directory in build image

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove duplicate code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment EETs

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix approve/allowance issue with INFINITE supply type fungible tokens (#2956)

* Fix approve/allowance issue with INFINITE supply type fungible tokens

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Fix unit tests for approve/adjust allowance checks

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Remove all `FCOneToManyRelation` use and update EETs to only verify NOT… (#2962)

* Remove all FCOneToManyRelation use and update EETs to only verify NOT_SUPPORTED

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unused tokens.nfts.areQueriesEnabled property, MerkleUniqueTokenId class

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Bump crypto from 22.1.0 to 22.1.1 (#2930)

* Bump log4j.version from 2.17.1 to 2.17.2 (#2931)

* Update maven version in Dockerfile - 3.8.4 is missing from https://dlcdn.apache.org/maven/maven-3/ (#2975)

Signed-off-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>

* Back `AliasManager` with `FCHashMap` from `StateMetadata` (#2969)

* Remove unnecessary StateAccessor wrapper

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Add the aliases FCHashMap<ByteString, EntityNum> to state metadata and MutableStateChildren

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Switch to FCHashMap in AliasManager

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use separate AliasManager in StateChildrenSigMetadataLookup

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Eliminate unnecessary use of TokenStore in StateView

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Address reviewer comments

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix StateModule.provideWorkingAliases() signature

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Use receiver (not sender address) to infer expiry of just-created contract (#2967)

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Disable CI for now

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Reenable CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Uncomment suites

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix javadoc, code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove the intermediary TransferList for converting to CurrencyAdjustments (#2966)

* initial commit

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix a few tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* add benchmark

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* use static constant

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update benchmark to have purging adjustments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* update changes array size to 10

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* change to modify in place

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix tests

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* Use different maven download link

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* address review comments

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* reset tracker every invocation

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* fix sonar smells

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* remove `numHbarBalancesChangedSoFar` pased to `CurrencyAdjustments`

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

* ALWAYS copy the arrays passed into `CurrencyAdjustments` to avoid problems

Signed-off-by: Neeharika-Sompalli <neeharika.sompalli@hedera.com>

Co-authored-by: tinker-michaelj <michael.tinker@hedera.com>

* Add fee to record, expiry to new account in `AutoCreationLogic` (#2979)

* Add fee to record, expiry to new account in AutoCreationLogic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Stabilize CI

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all but one unit test 😓

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Intermezzo

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix unit test

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix all unit tests, remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Fix code smells

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>

* Add javadoc and unit tests

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove unnecessary object creation in doBoundedIteration

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Be more idiomatic

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* Remove dead code

Signed-off-by: tinker-michaelj <michael.tinker@hedera.com>

* merge master

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

* fix unit test

Signed-off-by: anighanta <anirudh.ghanta@hedera.com>

Co-authored-by: Michael Tinker <michael.tinker@hedera.com>
Co-authored-by: Stoyan Panayotov <stoyan.panayotov@limechain.tech>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Neeha <52669918+Neeharika-Sompalli@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant