Skip to content

Commit

Permalink
update: release v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Oct 20, 2023
1 parent 8287b52 commit 49fa1cf
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 47 deletions.
84 changes: 42 additions & 42 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epics-dao/solv",
"version": "1.5.0",
"version": "1.5.1",
"description": "Solana Validator CLI SOLV",
"main": "dist/index.js",
"repository": "https://github.com/EpicsDAO/solv",
Expand Down
3 changes: 1 addition & 2 deletions src/cli/check/ensureMountAndFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import { DEFAULT_FILE_SYSTEM } from '@/config'
import { spawnSync } from 'child_process'

const swapLine = `/mt/swapfile swap swap defaults 0 0`
const ramLine = `tmpfs /mt/solana-accounts tmpfs rw,size=300G,user=solv 0 0`

export const ensureFstabEntries = (fileSystem = DEFAULT_FILE_SYSTEM) => {
const mtLine = `${fileSystem} /mt ext4 auto 0 0`
const lines = [swapLine, ramLine, mtLine]
const lines = [swapLine, mtLine]
const output = spawnSync(`cat /etc/fstab`, {
shell: true,
encoding: 'utf8',
Expand Down
2 changes: 1 addition & 1 deletion src/cli/setup/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export const setup = () => {
}
setupSwap(fileSystem)
setupDirs()
startValidator()
setupPermissions()
makeServices()
startValidator()
setupKeys()
const cmds = [
'sudo systemctl daemon-reload',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '1.5.0'
export const VERSION = '1.5.1'

0 comments on commit 49fa1cf

Please sign in to comment.