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

Cancel vesting #104

Closed
wants to merge 183 commits into from
Closed

Cancel vesting #104

wants to merge 183 commits into from

Conversation

aleeusgr
Copy link
Owner

@aleeusgr aleeusgr commented May 21, 2023

@aleeusgr
Copy link
Owner Author

aleeusgr commented May 22, 2023

I get an error in

await tx.finalize(networkParams, ownerAddress);

Error: transaction doesn't have enough inputs to cover the outputs + fees + minLovelace

tx.dump().body.collateral[0]:

{                                                                                                                  
  +   origOutput: {                                                                                                    
  +     address: {
  +       bech32: 'addr_test1vz2a83z0d5gceyghfrjqpaqu2f98evk8q6swje2c5ddqmaca2vhfl',
  +       hex: '6095d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7',
  +     },
  +     datum: null,
  +     refScript: null,
  +     value: {
  +       assets: {},
  +       lovelace: '59747752',
  +     },
  +   },
  +   txId: '28e8c61f4da31df8541b4fca272dd66b6fb258404bba7a8c8d7fc75d7b00c5ef',
  +   utxoIdx: '1',
  + }

tx.dump().body.inputs[0]:

{                                                                                                                  
  +   origOutput: {                                                                                                    
  +     address: {                                                                                                     
  +       bech32: 'addr_test1wqzs96thkxedr0jpak4ar9qp6ew58uwexmuz99ah93ckv0q6z8ey4',                                   
  +       hex: '700502e977b1b2d1be41edabd19401d65d43f1d936f82297b72c71663c',                                           
  +     },                                                                                                             
  +     datum: {                                                                                                       
  +       inlineCbor: '9f581c95d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7581c3b61a40bc5872219ce830fb9c792d8
d53fb87921f590287057e4e3b41b000001867b8b7b00ff',                                                                       
  +       inlineSchema: {                                                                                              
  +         list: [                                                                                                    
  +           {                                                                                                        
  +             bytes: '95d3c44f6d118c911748e400f41c524a7cb2c706a0e96558a35a0df7',                                     
  +           },                                                                                                       
  +           {
  +             bytes: '3b61a40bc5872219ce830fb9c792d8d53fb87921f590287057e4e3b4',
  +           },
  +           {
  +             int: 1677109984000,
  +           },
  +         ],
  +       },
  +     },
refScript: null,
  +     value: {
  +       assets: {
  +         '49b106e698de78171de2faf35932635e1085c12508ca87718a2d4487': {
  +           '56657374696e67204b6579': '1',
  +         },
  +       },
  +       lovelace: '10000000',
  +     },
  +   },
  +   txId: '28e8c61f4da31df8541b4fca272dd66b6fb258404bba7a8c8d7fc75d7b00c5ef',
  +   utxoIdx: '0',
  + }

#105

@aleeusgr

This comment was marked as duplicate.

lastValidSlot does not change if I change value in validTo, maybe format is wrong?

BREAKING CHANGE:
…ated

I can change firstValidSlot but not lastValidSlot!

BREAKING CHANGE:
needed to get access to newer features around time

BREAKING CHANGE: 106
new helios version requires stating arg to main explicitly

BREAKING CHANGE: 106, 105, 104
fixing errors after updating to helios-0.14.0

105
Slot out of range.

BREAKING CHANGE:
@aleeusgr
Copy link
Owner Author

#111

@aleeusgr aleeusgr closed this May 30, 2023
@aleeusgr aleeusgr deleted the cancel-vesting branch May 30, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant