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

docs(rfc): non-evm chain memo design standard #2963

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

ws4charlie
Copy link
Contributor

@ws4charlie ws4charlie commented Oct 2, 2024

Description

upload the doc Standard-non-EVM-Inbound-Memo

How Has This Been Tested?

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Summary by CodeRabbit

  • New Features

    • Introduced support for stateful precompiled contracts and staking precompiled contracts.
    • Added common importable RPC package and enhancements for multiple Bitcoin chains.
    • Integrated authenticated calls smart contract functionality and new documentation for non-EVM chain memo format.
  • Bug Fixes

    • Improved functionality for operators voting on ballots and resolved issues with outbound tracker on EVM chains.
  • Documentation

    • Updated changelog and added a new section detailing the design of the non-EVM chain inbound memo format.
  • Refactor

    • Cleaned up lint errors and modified contract handling for better organization.

Copy link
Contributor

coderabbitai bot commented Oct 2, 2024

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough
📝 Walkthrough
📝 Walkthrough
📝 Walkthrough
📝 Walkthrough

Walkthrough

The changes encompass a comprehensive update to the changelog and the introduction of a proposed standard memo format for non-EVM chains. Key features include support for stateful precompiled contracts, enhancements to staking and bank precompiled contracts, and the integration of multiple Bitcoin chains. Additionally, the documentation outlines a structured memo format aimed at improving cross-chain transaction interoperability, detailing its structure, operation codes, and encoding specifications.

Changes

File Path Change Summary
changelog.md Updated to include new features such as stateful precompiled contracts, RPC package, staking enhancements, and support for multiple Bitcoin chains. Refactored MsgUpdateChainInfo and added MsgRemoveChainInfo. Expanded testing and fixed various functionality issues.
docs/design-proposals/non_evm_inbound_memo/... Introduced a proposed standard memo format for non-EVM chains, detailing its structure, operation codes, and encoding specifications for improved interoperability.

Possibly related PRs

Suggested labels

no-changelog


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (7)
docs/design-proposals/non_evm_inbound_memo/2024_10_02_standard_memo_format.md (7)

1-7: Utilize Markdown syntax for document title

The document title is currently formatted using HTML. For consistency with Markdown conventions, consider replacing the HTML syntax with Markdown equivalent.

Replace the HTML-formatted title with the following Markdown syntax:

-<h1 style="text-align: center;">A proposed standard memo format for non-EVM chains</h1>
+# A proposed standard memo format for non-EVM chains

The goal section effectively outlines the purpose of the standard memo format, providing clear context for the document.


9-34: Specify language for code blocks

The content in this section effectively describes the events to be mimicked for non-EVM chains. However, the code blocks lack language specification.

Enhance the code block formatting by specifying the language. For example:

-```
+```solidity
 event Deposited(
     address indexed sender,
     address indexed receiver,
     uint256 amount,
     address asset,
     bytes payload,
     RevertOptions revertOptions
 );

Apply this change to both code blocks in this section.

🧰 Tools
🪛 Markdownlint

29-29: Column: 1
Hard tabs

(MD010, no-hard-tabs)


30-30: Column: 1
Hard tabs

(MD010, no-hard-tabs)


31-31: Column: 1
Hard tabs

(MD010, no-hard-tabs)


32-32: Column: 1
Hard tabs

(MD010, no-hard-tabs)


18-18: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


38-40: Add alt text to the memo diagram

The memo diagram is a crucial visual aid for understanding the memo structure. However, it lacks alt text, which is important for accessibility and SEO.

Enhance the image by adding descriptive alt text:

-![](layout.png)<br><br>
+![Diagram illustrating the standard non-EVM memo layout](layout.png)<br><br>
🧰 Tools
🪛 Markdownlint

40-40: null
Images should have alternate text (alt text)

(MD045, no-alt-text)


43-58: Improve table formatting in memo structure section

The memo structure section provides a clear and informative breakdown of the 9 sections in the standard non-EVM memo. The table effectively summarizes the key details of each section.

To enhance the table's readability and adhere to Markdown best practices, consider the following formatting improvements:

  1. Add leading and trailing pipes to each row.
  2. Ensure consistent column alignment.

Apply these changes to the table:

-|                 | Section 0  | Section 1   | Section 2   | Section 3      | Section 4    | Section 5    | Section 6     | Section 7   | Section 8   |
-|-----------------|------------|-------------|-------------|----------------|--------------|--------------|---------------|-------------|-------------|
-| **Name**        | Header     | Receiver    | Payload     | RevertAddress  | CallOnRevert | AbortAddress | RevertMessage | reserved    | reserved    |
-| **Size (byte)** | 3          | 20          | variable    | variable       | 1            | 20           | variable      | --          | --          |
-| **Type**        | [3]byte    | ZEVM address| bytes       | non-EVM address| bool         | ZEVM address | bytes         | --          | --          |
-| **Optional**    | No         | No          | Yes         | Yes            | Yes          | Yes          | Yes           | --          | --          |
+| Section         | Section 0  | Section 1   | Section 2   | Section 3      | Section 4    | Section 5    | Section 6     | Section 7   | Section 8   |
+|-----------------|------------|-------------|-------------|----------------|--------------|--------------|---------------|-------------|-------------|
+| **Name**        | Header     | Receiver    | Payload     | RevertAddress  | CallOnRevert | AbortAddress | RevertMessage | reserved    | reserved    |
+| **Size (byte)** | 3          | 20          | variable    | variable       | 1            | 20           | variable      | --          | --          |
+| **Type**        | [3]byte    | ZEVM address| bytes       | non-EVM address| bool         | ZEVM address | bytes         | --          | --          |
+| **Optional**    | No         | No          | Yes         | Yes            | Yes          | Yes          | Yes           | --          | --          |
🧰 Tools
🪛 Markdownlint

58-58: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


58-58: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


58-58: Expected: 10; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)


61-104: Enhance table formatting in the header section

The header section provides a comprehensive breakdown of the 3-byte header structure, offering detailed information about each byte's purpose and encoding.

To improve readability and consistency, apply the following formatting changes to the tables:

  1. Add leading and trailing pipes to each row.
  2. Ensure consistent column alignment.
  3. Use a consistent style for empty cells (e.g., -- or leave blank).

Apply these changes to the tables in this section. For example:

-|                 | bit 5 ~ 7                       | bit 3 ~ 4                      | bit 0 ~ 2                                                |
-|-----------------|---------------------------------|--------------------------------|----------------------------------------------------------|
-| **Name**        | version #                       | encoding flag                  | operation code                                           |
-|                 |                                 |                                | No for non-contract chains; Ignored for contract chains  |
-| **Optional**    | No (0b000 for now)              | No (0b00 or 0b01 or 0b10)      | The operation code is already differentiated by method names in contract based chains |
+| Field           | bit 5 ~ 7                       | bit 3 ~ 4                      | bit 0 ~ 2                                                |
+|-----------------|---------------------------------|--------------------------------|----------------------------------------------------------|
+| **Name**        | version #                       | encoding flag                  | operation code                                           |
+| **Description** | --                              | --                             | No for non-contract chains; Ignored for contract chains  |
+| **Optional**    | No (0b000 for now)              | No (0b00 or 0b01 or 0b10)      | The operation code is already differentiated by method names in contract-based chains |

Apply similar formatting improvements to the other tables in this section.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~65-~65: Loose punctuation mark.
Context: ...ut breaking compatibility. ### byte-0: Memo Identifier The ASCII code 0x5A ...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~67-~67: Possible missing article found.
Context: ...mo Identifier The ASCII code 0x5A of letter 'Z' is used as the identifier of the ...

(AI_HYDRA_LEO_MISSING_THE)


[uncategorized] ~70-~70: Loose punctuation mark.
Context: ...os beginning with 0x5A. ### byte-1: Control Byte | | bit 5...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~76-~76: This expression is usually spelled with a hyphen.
Context: ...ready differentiated by method names in contract based chains | ### byte-2: Data Flags | ...

(BASED_HYPHEN)


[uncategorized] ~79-~79: Loose punctuation mark.
Context: ...n contract based chains | ### byte-2: Data Flags | | bit 7 ...

(UNLIKELY_OPENING_PUNCTUATION)


[locale-violation] ~99-~99: The phrase ‘in future’ is British English. Did you mean: “in the future”?
Context: ...flag seems good enough and won’t change in future. | 0b00 | 0b01 | 0...

(IN_FUTURE)

🪛 Markdownlint

104-104: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


104-104: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


104-104: Expected: 3; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)


107-118: Refine table formatting in the types section

The types section effectively defines the types used for decoding/encoding memo fields, providing clear descriptions for each type.

To enhance readability and consistency, apply the following formatting changes to the table:

  1. Add leading and trailing pipes to each row.
  2. Ensure consistent column alignment.

Apply these changes to the table:

-|                Field        | Size (byte)  | Description                                                                                                                     |
-|-----------------------------|--------------|---------------------------------------------------------------------------------------------------------------------------------|
-| **ZEVM address**            | fixed, 20    | The raw bytes representation of a ZEVM address. ZEVM address is the same as standard Ethereum address.                          |
-| **non-EVM address**         | variable     | The raw bytes representation of a non-EVM external chain address. Different addresses have different lengths, e.g., Bitcoin vs Solana; Bitcoin Segwit vs Legacy. |
-| **bytes**                   | variable     | The raw bytes of arbitrary data.                                                                                                |
+| Field                       | Size (byte)  | Description                                                                                                                     |
+|-----------------------------|--------------|---------------------------------------------------------------------------------------------------------------------------------|
+| **ZEVM address**            | fixed, 20    | The raw bytes representation of a ZEVM address. ZEVM address is the same as standard Ethereum address.                          |
+| **non-EVM address**         | variable     | The raw bytes representation of a non-EVM external chain address. Different addresses have different lengths, e.g., Bitcoin vs Solana; Bitcoin Segwit vs Legacy. |
+| **bytes**                   | variable     | The raw bytes of arbitrary data.                                                                                                |
🧰 Tools
🪛 Markdownlint

118-118: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


118-118: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


118-118: Expected: 3; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)


121-131: Enhance table formatting in the byte layout section

The byte layout section effectively describes the two methods for encoding memo fields into raw bytes, providing clear details for each format.

To improve readability and consistency, apply the following formatting changes to the table:

  1. Add leading and trailing pipes to each row.
  2. Ensure consistent column alignment.

Apply these changes to the table:

-| Decoding flag | Format            | Layout                                  | Description                                   | Rule                                                     |
-|---------------|-------------------|-----------------------------------------|-----------------------------------------------|----------------------------------------------------------|
-| 0b00          | ABI encoded       | ABI encoded types                       | Types are packed/unpacked with ABI standard   | [ABI Spec](https://docs.soliditylang.org/en/develop/abi-spec.html) |
-| 0b01          | lite-data short   | [1-byte length] + [data]                | Carry up to 255 bytes of data.                | A valid length must > 0 and match data length.           |
-| 0b10          | lite-data long    | [2-byte length, little-endian] + [data] | Carry up to 65535 bytes (64KB) of data.       | A valid length must > 0 and match data length.           |
+| Decoding flag | Format            | Layout                                  | Description                                   | Rule                                                     |
+|---------------|-------------------|-----------------------------------------|-----------------------------------------------|----------------------------------------------------------|
+| 0b00          | ABI encoded       | ABI encoded types                       | Types are packed/unpacked with ABI standard   | [ABI Spec](https://docs.soliditylang.org/en/develop/abi-spec.html) |
+| 0b01          | lite-data short   | [1-byte length] + [data]                | Carry up to 255 bytes of data.                | A valid length must > 0 and match data length.           |
+| 0b10          | lite-data long    | [2-byte length, little-endian] + [data] | Carry up to 65535 bytes (64KB) of data.       | A valid length must > 0 and match data length.           |
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between f0ed61d and cda4b6b.

⛔ Files ignored due to path filters (1)
  • docs/design-proposals/non_evm_inbound_memo/layout.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • changelog.md (1 hunks)
  • docs/design-proposals/non_evm_inbound_memo/2024_10_02_standard_memo_format.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/design-proposals/non_evm_inbound_memo/2024_10_02_standard_memo_format.md

[uncategorized] ~65-~65: Loose punctuation mark.
Context: ...ut breaking compatibility. ### byte-0: Memo Identifier The ASCII code 0x5A ...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~67-~67: Possible missing article found.
Context: ...mo Identifier The ASCII code 0x5A of letter 'Z' is used as the identifier of the ...

(AI_HYDRA_LEO_MISSING_THE)


[uncategorized] ~70-~70: Loose punctuation mark.
Context: ...os beginning with 0x5A. ### byte-1: Control Byte | | bit 5...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~76-~76: This expression is usually spelled with a hyphen.
Context: ...ready differentiated by method names in contract based chains | ### byte-2: Data Flags | ...

(BASED_HYPHEN)


[uncategorized] ~79-~79: Loose punctuation mark.
Context: ...n contract based chains | ### byte-2: Data Flags | | bit 7 ...

(UNLIKELY_OPENING_PUNCTUATION)


[locale-violation] ~99-~99: The phrase ‘in future’ is British English. Did you mean: “in the future”?
Context: ...flag seems good enough and won’t change in future. | 0b00 | 0b01 | 0...

(IN_FUTURE)

🪛 Markdownlint
docs/design-proposals/non_evm_inbound_memo/2024_10_02_standard_memo_format.md

29-29: Column: 1
Hard tabs

(MD010, no-hard-tabs)


30-30: Column: 1
Hard tabs

(MD010, no-hard-tabs)


31-31: Column: 1
Hard tabs

(MD010, no-hard-tabs)


32-32: Column: 1
Hard tabs

(MD010, no-hard-tabs)


18-18: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


40-40: null
Images should have alternate text (alt text)

(MD045, no-alt-text)


58-58: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


58-58: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


104-104: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


104-104: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


118-118: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


118-118: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


58-58: Expected: 10; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)


104-104: Expected: 3; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)


118-118: Expected: 3; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)

🔇 Additional comments (3)
docs/design-proposals/non_evm_inbound_memo/2024_10_02_standard_memo_format.md (1)

1-131: Comprehensive and well-structured design proposal

This document presents a thorough and well-organized design proposal for a standard memo format for non-EVM chains. The content effectively covers all aspects of the proposed format, including:

  1. Clear explanation of the goal and context
  2. Detailed breakdown of the memo structure
  3. Comprehensive description of the header and its components
  4. Clear definition of types and encoding methods

The proposed standard memo format appears to be well-thought-out and designed to ensure consistency across different blockchain environments. This standardization is crucial for improving interoperability and developer experience in cross-chain transactions.

While minor formatting issues were identified throughout the document, addressing these will further enhance its readability and professional presentation. These improvements primarily involve consistent table formatting and proper use of Markdown syntax.

Overall, this design proposal provides a solid foundation for implementing a standardized memo format that will significantly contribute to the efficiency and reliability of cross-chain transactions in the ZetaChain ecosystem.

🧰 Tools
🪛 LanguageTool

[uncategorized] ~65-~65: Loose punctuation mark.
Context: ...ut breaking compatibility. ### byte-0: Memo Identifier The ASCII code 0x5A ...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~67-~67: Possible missing article found.
Context: ...mo Identifier The ASCII code 0x5A of letter 'Z' is used as the identifier of the ...

(AI_HYDRA_LEO_MISSING_THE)


[uncategorized] ~70-~70: Loose punctuation mark.
Context: ...os beginning with 0x5A. ### byte-1: Control Byte | | bit 5...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~76-~76: This expression is usually spelled with a hyphen.
Context: ...ready differentiated by method names in contract based chains | ### byte-2: Data Flags | ...

(BASED_HYPHEN)


[uncategorized] ~79-~79: Loose punctuation mark.
Context: ...n contract based chains | ### byte-2: Data Flags | | bit 7 ...

(UNLIKELY_OPENING_PUNCTUATION)


[locale-violation] ~99-~99: The phrase ‘in future’ is British English. Did you mean: “in the future”?
Context: ...flag seems good enough and won’t change in future. | 0b00 | 0b01 | 0...

(IN_FUTURE)

🪛 Markdownlint

29-29: Column: 1
Hard tabs

(MD010, no-hard-tabs)


30-30: Column: 1
Hard tabs

(MD010, no-hard-tabs)


31-31: Column: 1
Hard tabs

(MD010, no-hard-tabs)


32-32: Column: 1
Hard tabs

(MD010, no-hard-tabs)


18-18: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


40-40: null
Images should have alternate text (alt text)

(MD045, no-alt-text)


58-58: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


58-58: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


104-104: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


104-104: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


118-118: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing leading pipe
Table pipe style

(MD055, table-pipe-style)


118-118: Expected: leading_and_trailing; Actual: no_leading_or_trailing; Missing trailing pipe
Table pipe style

(MD055, table-pipe-style)


58-58: Expected: 10; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)


104-104: Expected: 3; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)


118-118: Expected: 3; Actual: 1; Too few cells, row will be missing data
Table column count

(MD056, table-column-count)

changelog.md (2)

51-54: Approved: Critical fixes and improvements.

The changelog for version v12.2.4 includes several important fixes that enhance the stability and security of the system. Key improvements include:

  1. Additional checks for external chain height verification.
  2. Adjustment of gas prices to buffer EIP1559 increases.
  3. Authorization changes for WhitelistERC20.
  4. Improvements to Bitcoin-related operations.

These changes address critical issues and should improve the overall reliability of the system.


56-57: Noted: Testing infrastructure improvement.

The removal of the standalone network and the adoption of a require testing package for the entire node folder is a positive change. This modification should lead to more consistent and reliable tests across the project, potentially improving the overall quality of the codebase.

Copy link
Contributor

@skosito skosito left a comment

Choose a reason for hiding this comment

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

looks good, just minor things

@lumtis lumtis changed the title docs: upload non-evm chain memo design doc docs(rfc): upload non-evm chain memo design doc Oct 3, 2024
@lumtis lumtis marked this pull request as draft October 3, 2024 08:27
@lumtis
Copy link
Member

lumtis commented Oct 3, 2024

Converting to draft as we should not merge it for now

@lumtis
Copy link
Member

lumtis commented Oct 3, 2024

Added a few commit to make it same organization as the other docs

@lumtis lumtis changed the title docs(rfc): upload non-evm chain memo design doc docs(rfc): non-evm chain memo design standard Oct 3, 2024
@swift1337
Copy link
Contributor

Why does this doc have an index of 002? 😅

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.77%. Comparing base (7b2bbe7) to head (fb1ccc0).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2963   +/-   ##
========================================
  Coverage    65.77%   65.77%           
========================================
  Files          398      398           
  Lines        22421    22421           
========================================
  Hits         14747    14747           
  Misses        6900     6900           
  Partials       774      774           

@ws4charlie ws4charlie marked this pull request as ready for review October 10, 2024 17:16
@gartnera gartnera added the no-changelog Skip changelog CI check label Oct 10, 2024
Comment on lines +1 to +4
# A proposed standard memo format for non-EVM chains
<br>

## The goal
Copy link
Member

Choose a reason for hiding this comment

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

Unrelated to this PR specifically, but I think it's useful to have a "Status: {proposed, declined, implemented}" on the RFCs.

In this case it's "proposed". In the PR actually implementing/completing the feature, you would set it to "implemented" and add a small description of any changes needed during the implementation.

Even declined RFCs should still be committed to the repo for historical reference.

Copy link
Contributor Author

@ws4charlie ws4charlie Oct 15, 2024

Choose a reason for hiding this comment

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

@gartnera Good idea. Do you think adding a Proposal status section at the beginning looking good? like below
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Skip changelog CI check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants