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

Add constants Package #172

Merged
merged 2 commits into from
Mar 10, 2022
Merged

Add constants Package #172

merged 2 commits into from
Mar 10, 2022

Conversation

AlicanC
Copy link
Contributor

@AlicanC AlicanC commented Mar 10, 2022

feat: add @fuel-ts/constants package

Adds a simple package that contains the following:

export const ZeroBytes32 = '0x0000000000000000000000000000000000000000000000000000000000000000';
export const NativeAssetId = ZeroBytes32;
export const EmptyRoot = '0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855';

This PR doesn't intend to be comprehensive. I need this package for something I'm working on so I just covered the most impactful.

chore: add TS project reference check to the lint script

Just a check to make sure we run npm run fix-ts-references when we change how packages in the workspace depend on each other.

@AlicanC AlicanC self-assigned this Mar 10, 2022
@AlicanC AlicanC added the feat Issue is a feature label Mar 10, 2022
Copy link
Member

@luizstacio luizstacio left a comment

Choose a reason for hiding this comment

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

Nice this is very useful

@AlicanC AlicanC merged commit adb835d into master Mar 10, 2022
@AlicanC AlicanC deleted the jc/constants-package branch March 10, 2022 20:22
petertonysmith94 pushed a commit that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants