Skip to content

Introduce unknown address type. - #248

Merged
winder merged 3 commits into
mainfrom
will/unknown-address
Oct 22, 2024
Merged

Introduce unknown address type.#248
winder merged 3 commits into
mainfrom
will/unknown-address

Conversation

@winder

@winder winder commented Oct 17, 2024

Copy link
Copy Markdown
Contributor

This PR replaces the many account types (string, []byte, types.Account) with UnknownAddress and UnknownEncodedAddress. These types are now used across the CCIP code and can extended in the future to add chain agnostic encoding and validation functions.

Related chainlink changes:

@winder
winder marked this pull request as ready for review October 17, 2024 20:52
@winder
winder requested a review from a team as a code owner October 17, 2024 20:52
@winder
winder force-pushed the will/unknown-address branch from 9ff4596 to f817197 Compare October 21, 2024 14:38

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How about making it work as a manual trigger as well? I mean overriding this value with every PR is very error prone. Maybe ability to trigger the job from GHA with custom branch from chainlink would be sufficient just to run these tests before merging? cc @b-gopalswami

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yeah, I pitched this idea before and received some pushback. I'm not against it, it should be straightforward as a flow:

  • comment on the pull request "cmd branch " to on demand run the test using the appropriate chainlink branch
  • some sort of trigger on comment with github actions. Parse the comment and ensure it comes from PR author, etc. then trigger the workflow with the branch name

@makramkd

Copy link
Copy Markdown
Collaborator

Please make sure to revert back to develop in the GH action prior to merging.

@winder
winder force-pushed the will/unknown-address branch from f817197 to dfbaf57 Compare October 22, 2024 18:31
@github-actions

Copy link
Copy Markdown
Metric will/unknown-address main
Coverage 72.5% 72.4%

@winder
winder merged commit e8564a2 into main Oct 22, 2024
@winder
winder deleted the will/unknown-address branch October 23, 2024 11:45
0xAustinWang pushed a commit that referenced this pull request Apr 28, 2025
* move development docs into separate article

* documenting standard and advanced use cases for adding components

* ingress and best practices

* More best practices and examples

* More best practices and examples
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