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

Chain-Factory endpoints #166

Merged
merged 20 commits into from
Nov 13, 2024
Merged

Chain-Factory endpoints #166

merged 20 commits into from
Nov 13, 2024

Conversation

andreiblt1304
Copy link
Contributor

@andreiblt1304 andreiblt1304 commented Nov 5, 2024

This contract will be deployed in each shard by the master-chain-factory SC. It's only purpose is to deploy the remaining contracts inside the Sovereign Chain.

@andreiblt1304 andreiblt1304 changed the title Cf coverage Chain-Factory coverage Nov 5, 2024
@andreiblt1304 andreiblt1304 changed the title Chain-Factory coverage Chain-Factory TDD improvements Nov 6, 2024
@andreiblt1304 andreiblt1304 marked this pull request as ready for review November 6, 2024 09:16
@axenteoctavian axenteoctavian self-requested a review November 7, 2024 07:47
chain-factory/src/factory.rs Outdated Show resolved Hide resolved
chain-factory/tests/chain_factory_tests.rs Outdated Show resolved Hide resolved
chain-factory/src/factory.rs Show resolved Hide resolved
chain-factory/src/factory.rs Show resolved Hide resolved
andreiblt1304 and others added 15 commits November 13, 2024 09:52
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
@andreiblt1304 andreiblt1304 changed the title Chain-Factory TDD improvements Chain-Factory endpoints Nov 13, 2024
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Comment on lines 69 to 70
opt_wegld_identifier: Option<TokenIdentifier>,
opt_sov_token_prefix: Option<ManagedBuffer>,

Choose a reason for hiding this comment

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

these should not be optional for main chain deploy

Suggested change
opt_wegld_identifier: Option<TokenIdentifier>,
opt_sov_token_prefix: Option<ManagedBuffer>,
wegld_identifier: TokenIdentifier,
sov_token_prefix: ManagedBuffer,

+ crate::common::utils::UtilsModule
{
// TODO: Check if contract was already deployed
pub trait FactoryModule {
#[payable("EGLD")]

Choose a reason for hiding this comment

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

no need

Suggested change
#[payable("EGLD")]

Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
Signed-off-by: Andrei Baltariu <[email protected]>
@andreiblt1304 andreiblt1304 merged commit f503549 into chain-factory Nov 13, 2024
2 checks passed
@andreiblt1304 andreiblt1304 deleted the cf-coverage branch December 3, 2024 13:16
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