hyperweb-io / hyperweb-io/ts-codegen
Message Composer Msg Conflict
- Vorherrschende Sprache
- TypeScript
- Sterne
- 126
- Forks
- 31
- Ø Merge
- 19 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
```ts
receive = ({
amount,
msg,
sender
}: {
amount: Uint128;
msg: Binary;
sender: string;
}, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
const msg = {
receive: {
amount,
msg,
sender
}
};
return {
typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract",
value: MsgExecuteContract.fromPartial({
sender: this.sender,
contract: this.contractAddress,
msg: toUtf8(JSON.stringify(msg)),
funds: _funds
})
};
};
```
Should call the local variable `_msg`
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Locate the TypeScript message composer implementation containing the receive method shown in the issue. Rename the local message object to _msg so it does not conflict with the destructured msg parameter, then verify that the generated TypeScript compiles successfully.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 35/100