Skip to content

Commit

Permalink
chore(lint): fix spelling + generate address
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Apr 3, 2024
1 parent f266371 commit 5ab5ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/assets/keeper/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (k Keeper) InitGenesis(ctx sdk.Context, data *types.GenesisState) {
}
}
// staker_asset.go (deposits)
// we simulate the behaviour of the depositKeeper.Deposit call
// we simulate the behavior of the depositKeeper.Deposit call
// it constructs the stakerID and the assetID, which we have validated previously.
// it checks that the deposited amount is not negative, which we have already done.
// and that the asset is registered, which we have also already done.
Expand Down
3 changes: 2 additions & 1 deletion x/assets/types/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ func (suite *GenesisTestSuite) TestValidateGenesis() {
LayerZeroChainID: 101,
AddressLength: 20,
}
tokenAddress := "0xdAC17F958D2ee523a2206206994597C13D831ec7"
// do not hardcode the address to avoid gitleaks complaining.
tokenAddress := utiltx.GenerateAddress().String()
usdtClientChainAsset := types.AssetInfo{
Name: "Tether USD",
Symbol: "USDT",
Expand Down

0 comments on commit 5ab5ddc

Please sign in to comment.