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

372 extend governance action proposal details #554

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

jankun4
Copy link
Contributor

@jankun4 jankun4 commented Mar 25, 2024

List of changes

Change

Proposal/list returns additional data:

  • expiryEpochNo
  • createdEpochNo
  • title
  • about
  • motivation
  • rationale

the TreasuryWithdrawals type also got nicely formated details like:

"details": {
"Amount": 2000,
"Reward Address": "stake_test1uz2dkulxs74ggfhr3aye9kmeckx5lpxecy5zj95njm8wvtg80d8ck"
}

Checklist

  • related issue
  • My changes generate no new warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the changelog
  • I have added tests that prove my fix is effective or that my feature works

jankun4 added 2 commits March 25, 2024 21:57
Signed-off-by: jankun4 <michaljankun@gmail.com>
provide basic details (title, about, motivation and rationale) for all GA types, and extra details for TreasuryWithdrawals

Signed-off-by: jankun4 <michaljankun@gmail.com>
@jankun4 jankun4 requested a review from placek March 25, 2024 21:06
@jankun4 jankun4 linked an issue Mar 25, 2024 that may be closed by this pull request
Signed-off-by: jankun4 <michaljankun@gmail.com>
Copy link
Contributor

@placek placek left a comment

Choose a reason for hiding this comment

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

Looks solid to me. Good job!
I have just one question, but I think we can assume that it will not make any difference until I get the answer to it.

@@ -138,7 +138,7 @@ startApp vvaConfig = do
, dRepListCache
, networkMetricsCache
}
connectionPool <- newPool $ defaultPoolConfig (connectPostgreSQL (encodeUtf8 (dbSyncConnectionString $ getter vvaConfig))) close 1 60
connectionPool <- createPool (connectPostgreSQL (encodeUtf8 (dbSyncConnectionString $ getter vvaConfig))) close 1 1 60
Copy link
Contributor

Choose a reason for hiding this comment

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

[question]
I don't quite understand what is the difference here. Can you explain that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

newPool was used in newer version of package, which caused a lot of troubles

@jankun4 jankun4 merged commit 2dd1bee into develop Mar 26, 2024
@jankun4 jankun4 deleted the 372-extend-governance-action-proposal-details branch March 26, 2024 10:10
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.

Extend Governance Action proposal details
2 participants