-
Notifications
You must be signed in to change notification settings - Fork 199
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
Preps for esdt-safe integration tests #6542
base: feat/esdt-prefix
Are you sure you want to change the base?
Conversation
"@000000000000000005004c13819a7f26de997e7c6720a6efe2d4b85c0609c9ad" + // price_aggregator_address | ||
"@" + hex.EncodeToString([]byte("USDC-350c4e")) + // usdc_token_id | ||
"@" + hex.EncodeToString([]byte("WEGLD-a28c59")) // wegld_token_id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok we don't have any fee market address set and tested anymore?
@@ -109,8 +114,36 @@ func deployBridgeSetup( | |||
} | |||
} | |||
|
|||
// Deposit will deposit tokens in the bridge sc safe contract | |||
func Deposit( | |||
func enshrineEsdtSafeContract( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is literally the same function as simpleEnshrineEsdtSafeContract
, only called with a different argument for DeployContract
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could've simply just passed from deployBridgeSetup
contract address.
@@ -289,7 +288,7 @@ func IssueFungible( | |||
txResult := SendTransaction(t, cs, sender, nonce, vm.ESDTSCAddress, issueCost, issueArgs, uint64(60000000)) | |||
RequireSuccessfulTransaction(t, txResult) | |||
|
|||
return getEsdtIdentifier(t, nodeHandler, tokenTicker, core.FungibleESDT) | |||
return getEsdtIdentifier(t, cs.GetNodeHandler(core.MetachainShardId), tokenTicker, core.FungibleESDT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break sovereign integration tests if the function is used. Should be reverted.
Reasoning behind the pull request
Proposed changes
Testing procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?