Skip to content

Commit

Permalink
no longer use fuel for static manifest (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikey authored Apr 13, 2023
1 parent 2062645 commit 6d6538a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN curl -o ./gomplate -sSL https://github.com/hairyhenderson/gomplate/releases/
RUN chmod 755 gomplate

# get the runtime
RUN curl -o ./runtime.tar.gz -sSL https://github.com/blocklessnetwork/runtime/releases/download/v0.0.12/blockless-runtime.linux-latest.x86_64.tar.gz
RUN curl -o ./runtime.tar.gz -sSL https://github.com/blocklessnetwork/runtime/releases/download/v0.0.13/blockless-runtime.ubuntu-20.04.x86_64.tar.gz
RUN mkdir /app/runtime && tar -xvkf ./runtime.tar.gz -C /app/runtime

# install blockchain client
Expand Down
2 changes: 0 additions & 2 deletions executor/execute_function_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ func TestExecute_WriteManifest(t *testing.T) {
const expectedManifest = `{
"fs_root_path": "fs-root-path-value",
"entry": "entry-path-value",
"limited_fuel": 100000000,
"limited_memory": 200,
"permissions": [
"permission-string-a",
"permission-string-b",
Expand Down
4 changes: 0 additions & 4 deletions executor/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@ func (e *Executor) writeExecutionManifest(req execute.Request, paths requestPath
manifest := struct {
FSRootPath string `json:"fs_root_path,omitempty"`
Entry string `json:"entry,omitempty"`
LimitedFuel int `json:"limited_fuel,omitempty"`
LimitedMemory int `json:"limited_memory,omitempty"`
Permissions []string `json:"permissions,omitempty"`
}{
FSRootPath: paths.fsRoot,
Entry: paths.entry,
LimitedFuel: 100_000_000,
LimitedMemory: 200,
Permissions: req.Config.Permissions,
}

Expand Down

0 comments on commit 6d6538a

Please sign in to comment.