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

Upgrade to 1.8.0 prov release #314

Merged
merged 1 commit into from
Mar 8, 2022
Merged

Conversation

minxylynx
Copy link
Contributor

Description

  • Brought in the new proto jar, which replaces the in-service proto building
  • Dependency cleanup
  • Added attributes, UUID to NFT API
  • Fully supporting msg based fee breakdown
  • Updated Params API to include MsgFee params
  • Updates to event scraping, tied to increased Smart Contract usage
  • Added Msg-Based Fee API
  • Added procedure to update tx fees from a specific height
  • Rewrote migrations 1.49, 1.50

closes: #299


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit and integration
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@minxylynx minxylynx requested review from a team, mtps, ChrisKenison and EasyEtHP4 as code owners March 2, 2022 17:35
@minxylynx minxylynx force-pushed the crussell/299-1.8.0-upgrade branch 7 times, most recently from d93fa49 to 8f2f88e Compare March 5, 2022 18:25
* Brought in the new proto jar, which replaces the in-service proto building
* Dependency cleanup
* Added attributes, UUID to NFT API
* Fully supporting msg based fee breakdown
* Updated Params API to include MsgFee params
* Updates to event scraping, tied to increased Smart Contract usage
* Added Msg-Based Fee API
* Added procedure to update tx fees from a specific height
* Rewrote mirgrations 1.49, 1.50
* Updated gas stat models to reflect proper terms
* Updated API docs

closes: #299
@minxylynx minxylynx force-pushed the crussell/299-1.8.0-upgrade branch from 8f2f88e to e9cae8d Compare March 6, 2022 00:10
fun getValidatorMarketRateAvg(address: String, txCount: Int) =
ValidatorMarketRateRecord.getValidatorRateForBlockCount(address, txCount)
.map { it.marketRate }
.let { list -> MarketRateAvg(list.size, list.minOrNull()!!, list.maxOrNull()!!, list.average()) }

Choose a reason for hiding this comment

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

This seems weird to call a method that can return null and then !! it

Copy link
Contributor Author

@minxylynx minxylynx Mar 7, 2022

Choose a reason for hiding this comment

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

The extension I would use is deprecated in favor of that one that is currently used


@Deprecated("Use minOrNull instead.", ReplaceWith("this.minOrNull()"))
@DeprecatedSinceKotlin(warningSince = "1.4", errorSince = "1.5")
public fun <T : Comparable<T>> Iterable<T>.min(): T? {
    return minOrNull()
}

@minxylynx minxylynx merged commit 5ce460b into main Mar 8, 2022
@minxylynx minxylynx deleted the crussell/299-1.8.0-upgrade branch March 8, 2022 00:19
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.

Enhancement: Update to 1.8.0 prov updates
2 participants