Skip to content

Bug: Asset Manager Tasks #58

@KohliSuraj

Description

@KohliSuraj

Hardhat task to add assets to asset manager should properly checksum address before writing it to blockchain.

I see 2 versions of the same address in the asset manager contract which is incorrect.

0x0AAAF8CB1c92aEF64Dd36CE1F3342B135183cc5B
0x0AAAF8cB1c92aEf64dd36cE1f3342B135183BD5b

Since Solidity does not understand address checksum this is something we need to account for while calling addEmp, addStakingReward and addSwapPair functions of AssetManager contract.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions