Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compiler): update compiler version for rc3 #2503

Merged
merged 1 commit into from
Jul 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/neo-one-client-common/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,14 @@ export interface TransactionOptions {
* Useful for when there is high traffic on the network and automatic re-sending of transactions takes place but you want more control.
*/
validBlockCount?: number;
/**
* `Transfer`s that specify native assets to send to the contract.
*/
sendTo?: ReadonlyArray<OmitStrict<Transfer, 'to'>>;
/**
* `Transfer`s that specify native assets to send from the contract.
*/
sendFrom?: readonly Transfer[];
// tslint:enable readonly-keyword
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const compile = async ({
})
).concat(addDummyMethod ? [DUMMY_METHOD] : []);

const compiler = 'neo-one 3.0.0-rc1';
const compiler = 'neo-one 3.0.0-rc3';

return {
contract: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const testToken = async ({
expect(contract.updateCounter).toEqual(0);
expect(contract.hash).toMatchSnapshot('contract hash');
expect(contract.nef.tokens).toMatchSnapshot('nef tokens');
expect(contract.nef.compiler).toEqual('neo-one 3.0.0-rc1');
expect(contract.nef.compiler).toEqual('neo-one 3.0.0-rc3');
expect(contract.nef.magic).toEqual(NefFileModel.magic);
expect(contract.manifest.abi.events).toMatchSnapshot('contract events');
expect(contract.manifest.abi.methods).toMatchSnapshot('contract methods');
Expand Down