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

Update fields related to latestRoundData #2479

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

codersjj
Copy link

IMPORTANT: Please do not create a Pull Request without creating an issue first.Any change needs to be discussed before proceeding.

Closing issues

closes #2478

Description

Update fields related to latestRoundData.

Changes

Copy link

vercel bot commented Mar 24, 2025

@codersjj is attempting to deploy a commit to the Chainlink Labs Team on Vercel.

A member of the Team first needs to authorize it.

@gfletcher-cll
Copy link
Collaborator

@khadni please verify

@@ -4,7 +4,7 @@
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 120,
"plugins": ["prettier-plugin-astro"],
"plugins": ["prettier-plugin-astro", "prettier-plugin-solidity"],
Copy link
Collaborator

Choose a reason for hiding this comment

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

@codersjj Thank you for your suggestion! However, the repo already has proper Solidity formatting support through prettier-plugin-solidity which is installed as a dev dependency. The plugin is already being used through our existing config:

  1. Solidity-specific formatting rules defined in the .prettierrc overrides section

  2. Our VSCode settings are configured to use Prettier for Solidity formatting

"solidity.formatter": "prettier"
  1. The plugin is properly integrated into our dev workflow (in the test config and linting setup).

Adding the plugin to the plugins array here would be redundant.

Could you please remove this change from your PR so I can merge it?

Copy link
Author

Choose a reason for hiding this comment

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

@codersjj Thank you for your suggestion! However, the repo already has proper Solidity formatting support through prettier-plugin-solidity which is installed as a dev dependency. The plugin is already being used through our existing config:

  1. Solidity-specific formatting rules defined in the .prettierrc overrides section
  2. Our VSCode settings are configured to use Prettier for Solidity formatting
"solidity.formatter": "prettier"
  1. The plugin is properly integrated into our dev workflow (in the test config and linting setup).

Adding the plugin to the plugins array here would be redundant.

Could you please remove this change from your PR so I can merge it?

I added this configuration because I encountered errors with the prettier --write command during my commit process. While the project already has Solidity formatting support, this specific addition helped me resolve formatting issues I was experiencing.

image

If I remove this change, how should I resolve this issue? 😕

/* uint80 roundId */,
int256 answer,
/*uint256 startedAt*/,
/*uint256 updatedAt*/,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks!

Copy link

vercel bot commented Mar 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
documentation ❌ Failed (Inspect) Mar 27, 2025 7:52pm

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 fields related to latestRoundData
3 participants