lighthouse
lighthouse copied to clipboard
Implement feedback from community
PR
-
New program version of program being deployed
L2TExMFKdjpN9kozasaurPirfHy9P8sbXoAN1qA3S95
. -
Implement vscode scripts to step-through debug rust tests.
-
AssertAccountDataMulti
instruction. -
Add new log levels, which only log on failure:
- FailedPlaintextMessage
- FailedEncodedMessage
- FailedEncodedNoop
-
Implement registry which codegens lighthouse assertions for rust/web3.js@tp4/web3.js@legacy.
- Added vote account assertion to registry for AuthorizedWithdrawer
- Example:
export const voteAccountTemplateArgs: AssertionTemplateArgs = {
assertionName: 'VoteAccount',
variants: [
{
name: 'AuthorizedWithdrawer',
kind: 'Pubkey',
assertions: [
{
kind: 'U8',
value: 2,
valueOperator: { type: 'Integer', enum: IntegerOperator.Equal },
offset: 0,
},
{
kind: 'Pubkey',
value: DefaultValueFn,
valueOperator: DefaultValueOperatorFn,
offset: 36,
},
],
},
],
};