Mocha

Results 3 issues of Mocha

Currently, if the IDL lists the same name for an account and an instruction, this will produce go code in which the account name and the instruction name will be...

## Description This PR updates the code gen in `main.go` to create structs for instruction accounts, as well as a helper to populate said structs given the AccountMetaSlice in the...

Example IDL Event: ``` "events": [ { "name": "InitializeEvent", "fields": [ { "name": "state", "type": { "defined": "State" }, "index": false }, { "name": "payer", "type": "publicKey", "index": false }...

idl