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

[Feature] add blockchain_alias blockchain-spec #361

Merged
merged 8 commits into from
Dec 15, 2022

Conversation

boulix3
Copy link
Contributor

@boulix3 boulix3 commented Nov 23, 2022

Hello this Pull Request adds the "blockchain_alias" option in the blockchainSpecs parameter.

It calls the Admin.AliasChain api when the custom blockchain is ready.

With the timestampvm example, using the timestamp alias, you can use 127.0.0.1:9650/ext/bc/timestamp instead of 127.0.0.1:9650/ext/bc/E8isHenre76NMxbJ3munSQatV8GoQ4XKWQg9vD34xMBqEFJGf.

@boulix3 boulix3 changed the title add blockchain_alias blockchain-spec [Feature] add blockchain_alias blockchain-spec Nov 23, 2022
Copy link
Contributor

@dasconnor dasconnor left a comment

Choose a reason for hiding this comment

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

I think this looks good but want @felipemadero to take a look

Copy link
Collaborator

@felipemadero felipemadero left a comment

Choose a reason for hiding this comment

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

Left some comments for improvement

rpcpb/rpc.proto Outdated Show resolved Hide resolved
local/blockchain.go Outdated Show resolved Hide resolved
local/blockchain.go Outdated Show resolved Hide resolved
local/blockchain.go Outdated Show resolved Hide resolved
local/blockchain.go Outdated Show resolved Hide resolved
local/blockchain.go Outdated Show resolved Hide resolved
local/blockchain.go Outdated Show resolved Hide resolved
local/blockchain.go Outdated Show resolved Hide resolved
@boulix3
Copy link
Contributor Author

boulix3 commented Dec 15, 2022

Awesome, thanks for the feedback.

Copy link
Collaborator

@felipemadero felipemadero left a comment

Choose a reason for hiding this comment

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

LGTM. Will approve once @holisticode nit is addressed

@boulix3
Copy link
Contributor Author

boulix3 commented Dec 15, 2022

Oh right, I didn't see this one. Fixing right now.

@felipemadero felipemadero merged commit 5509895 into ava-labs:main Dec 15, 2022
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.

4 participants