diff --git a/BUILD_ARGS b/BUILD_ARGS index 7b95804e..941a4099 100644 --- a/BUILD_ARGS +++ b/BUILD_ARGS @@ -1,6 +1,6 @@ --build-arg BASE_IMAGE=python:3.9.13-slim-buster ---build-arg BUILD_DATE=2023-09-05T11:20:51UTC +--build-arg BUILD_DATE=2023-10-31T09:17:15UTC --build-arg DOCKER_BUILD_OPTION=--no-cache --rm=true --build-arg ECHO_OPTION= --build-arg GIT_USER=JINWOO-J @@ -11,4 +11,4 @@ --build-arg REPO_HUB=jinwoo --build-arg SED_OPTION='' --build-arg UNAME_S=Darwin ---build-arg VERSION=1.0.27 +--build-arg VERSION=1.0.29 diff --git a/pawnlib/__version__.py b/pawnlib/__version__.py index fd9f2140..05c3db21 100644 --- a/pawnlib/__version__.py +++ b/pawnlib/__version__.py @@ -2,7 +2,7 @@ __title__ = 'pawnlib' __description__ = 'pawnlib is a collection of libraries for IaC.' __url__ = 'https://github.com/jinwoo-j/pawnlib' -__version__ = '1.0.28' +__version__ = '1.0.29' __author__ = 'Jinwoo Jeong' __author_email__ = 'jinwoo@parametacorp.com' __license__ = 'MIT' diff --git a/pawnlib/utils/http.py b/pawnlib/utils/http.py index 24c85f47..288f1414 100644 --- a/pawnlib/utils/http.py +++ b/pawnlib/utils/http.py @@ -605,7 +605,8 @@ def _make_governance_payload(self, method, params): ) return _request_payload - def governance_call(self, url=None, method=None, params={}, governance_address=None, sign=None, store_request_payload=True, is_wait=True): + def governance_call(self, url=None, method=None, params={}, governance_address=None, + sign=None, store_request_payload=True, is_wait=True, value="0x0"): if governance_address: self.governance_address = governance_address else: @@ -616,7 +617,7 @@ def governance_call(self, url=None, method=None, params={}, governance_address=N if self._can_be_signed: # if _request_payload['params'].get('value', None): - _request_payload['params']['value'] = "0x0" + _request_payload['params']['value'] = value self.sign_tx(payload=_request_payload) response = self.sign_send(is_wait=is_wait) return response