-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: increase satellite and orbiter fees (#775)
* feat: increase satellite and orbiter fees Signed-off-by: David Dal Busco <[email protected]> * docs: executed proposal Signed-off-by: David Dal Busco <[email protected]> --------- Signed-off-by: David Dal Busco <[email protected]>
- Loading branch information
1 parent
72c20b3
commit 3d73925
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
#!/usr/bin/env node | ||
|
||
import { consoleActorLocal } from './actor.mjs'; | ||
import { consoleActor } from './actor.mjs'; | ||
import { segmentType } from './console.utils.mjs'; | ||
|
||
const setFee = async ({ actor, type }) => { | ||
await actor.set_fee(segmentType(type), { e8s: 30_000_000n }); | ||
await actor.set_fee(segmentType(type), { e8s: 40_000_000n }); | ||
|
||
console.log(`Fee set for ${type}.`); | ||
}; | ||
|
||
const actor = await consoleActorLocal(); | ||
const actor = await consoleActor(); | ||
|
||
await Promise.all([setFee({ actor, type: 'satellite' }), setFee({ actor, type: 'orbiter' })]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters