Skip to content

Commit a57ef2d

Browse files
Add some GAS to notary txs (#3176)
2 parents 3e4cd15 + 4a671ee commit a57ef2d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Changelog for NeoFS Node
3838
- Calculation of VUB for zero hash (#3134)
3939
- More efficient block header subscription is used now instead of block-based one (#3163)
4040
- `ObjectService.GetRange(Hash)` ops now handle zero ranges as full payload (#3071)
41+
- Add some GAS to system fee of notary transactions (#3176)
4142

4243
### Removed
4344
- Drop creating new eacl tables with public keys (#3096)

pkg/morph/client/notary.go

+4
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,10 @@ func (c *Client) notaryInvoke(committee, invokedByAlpha bool, contract util.Uint
487487
t.ValidUntilBlock = until
488488
t.Nonce = nonce
489489

490+
// Add 10% GAS to prevent this errors:
491+
// "at instruction 1689 (SYSCALL): System.Runtime.Log failed: insufficient amount of gas"
492+
t.SystemFee += t.SystemFee / 10
493+
490494
return nil
491495
}, args...))
492496

0 commit comments

Comments
 (0)